--- src/xitk/videowin.c.orig 2005/09/12 00:47:03 1.216 +++ src/xitk/videowin.c 2005/09/21 06:55:23 1.217 @@ -1450,8 +1450,8 @@ gVw->desktopHeight = DisplayHeight(gGui->video_display, gGui->video_screen); #ifdef HAVE_XTESTEXTENSION - gVw->fake_keys[0] = XKeysymToKeycode(gGui->video_display, XK_Scroll_Lock); - gVw->fake_keys[1] = XKeysymToKeycode(gGui->video_display, XK_Num_Lock); + gVw->fake_keys[0] = XKeysymToKeycode(gGui->video_display, XK_Shift_L); + gVw->fake_keys[1] = XKeysymToKeycode(gGui->video_display, XK_Control_L); gVw->fake_key_cur = 0; #endif @@ -2154,8 +2154,6 @@ XLockDisplay(gGui->video_display); XTestFakeKeyEvent(gGui->video_display, gVw->fake_keys[gVw->fake_key_cur], True, CurrentTime); XTestFakeKeyEvent(gGui->video_display, gVw->fake_keys[gVw->fake_key_cur], False, CurrentTime); - XTestFakeKeyEvent(gGui->video_display, gVw->fake_keys[gVw->fake_key_cur], True, CurrentTime); - XTestFakeKeyEvent(gGui->video_display, gVw->fake_keys[gVw->fake_key_cur], False, CurrentTime); XSync(gGui->video_display, False); XUnlockDisplay(gGui->video_display); }