Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 102884 | Differences between
and this patch

Collapse All | Expand All

(-)src/xitk/videowin.c.orig (-4 / +2 lines)
Lines 1450-1457 Link Here
1450
  gVw->desktopHeight      = DisplayHeight(gGui->video_display, gGui->video_screen);
1450
  gVw->desktopHeight      = DisplayHeight(gGui->video_display, gGui->video_screen);
1451
1451
1452
#ifdef HAVE_XTESTEXTENSION
1452
#ifdef HAVE_XTESTEXTENSION
1453
  gVw->fake_keys[0] = XKeysymToKeycode(gGui->video_display, XK_Scroll_Lock);
1453
  gVw->fake_keys[0] = XKeysymToKeycode(gGui->video_display, XK_Shift_L);
1454
  gVw->fake_keys[1] = XKeysymToKeycode(gGui->video_display, XK_Num_Lock);
1454
  gVw->fake_keys[1] = XKeysymToKeycode(gGui->video_display, XK_Control_L);
1455
  gVw->fake_key_cur = 0;
1455
  gVw->fake_key_cur = 0;
1456
#endif
1456
#endif
1457
  
1457
  
Lines 2154-2161 Link Here
2154
      XLockDisplay(gGui->video_display);
2154
      XLockDisplay(gGui->video_display);
2155
      XTestFakeKeyEvent(gGui->video_display, gVw->fake_keys[gVw->fake_key_cur], True, CurrentTime);
2155
      XTestFakeKeyEvent(gGui->video_display, gVw->fake_keys[gVw->fake_key_cur], True, CurrentTime);
2156
      XTestFakeKeyEvent(gGui->video_display, gVw->fake_keys[gVw->fake_key_cur], False, CurrentTime);
2156
      XTestFakeKeyEvent(gGui->video_display, gVw->fake_keys[gVw->fake_key_cur], False, CurrentTime);
2157
      XTestFakeKeyEvent(gGui->video_display, gVw->fake_keys[gVw->fake_key_cur], True, CurrentTime);
2158
      XTestFakeKeyEvent(gGui->video_display, gVw->fake_keys[gVw->fake_key_cur], False, CurrentTime);
2159
      XSync(gGui->video_display, False);
2157
      XSync(gGui->video_display, False);
2160
      XUnlockDisplay(gGui->video_display);
2158
      XUnlockDisplay(gGui->video_display);
2161
    }
2159
    }

Return to bug 102884