View | Details | Raw Unified | Return to bug 400520
Collapse All | Expand All

(-)xorg-server-1.6.5/hw/vnc/kbdptr.c (-2 / +5 lines)
Lines 166-172 KbdAddEvent(Bool down, KeySym keySym, rf Link Here
166
    if (!kbdDevice)
166
    if (!kbdDevice)
167
        return;
167
        return;
168
168
169
    keySyms = &kbdDevice->key->curKeySyms;
169
    /* Use virtual core keyboard for keysyms - see discussion on
170
     * https://defect.opensolaris.org/bz/show_bug.cgi?id=8687 */
171
    keySyms = &inputInfo.keyboard->key->curKeySyms;
170
172
171
#ifdef CORBA
173
#ifdef CORBA
172
    if (cl) {
174
    if (cl) {
Lines 277-283 KbdAddEvent(Bool down, KeySym keySym, rf Link Here
277
		shiftMustBePressed = TRUE;
279
		shiftMustBePressed = TRUE;
278
	}
280
	}
279
281
280
	SendMappingNotify(kbdDevice, MappingKeyboard, keyCode, 1, serverClient);
282
	/* Use virtual core keyboard for keysyms */
283
	SendMappingNotify(inputInfo.keyboard, MappingKeyboard, keyCode, 1, serverClient);
281
284
282
	ErrorF("KbdAddEvent: unknown KeySym 0x%x - allocating KeyCode %d\n",
285
	ErrorF("KbdAddEvent: unknown KeySym 0x%x - allocating KeyCode %d\n",
283
	       (int)keySym, keyCode);
286
	       (int)keySym, keyCode);

Return to bug 400520