/[rdesktop]/sourceforge.net/trunk/rdesktop/xwin.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/xwin.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 542 by astrand, Mon Nov 3 13:22:09 2003 UTC revision 543 by astrand, Mon Nov 3 13:33:35 2003 UTC
# Line 988  xwin_process_events(void) Line 988  xwin_process_events(void)
988          key_translation tr;          key_translation tr;
989          char str[256];          char str[256];
990          Status status;          Status status;
         unsigned int state;  
         Window wdummy;  
         int dummy;  
991    
992          while (XPending(g_display) > 0)          while (XPending(g_display) > 0)
993          {          {
# Line 1163  xwin_process_events(void) Line 1160  xwin_process_events(void)
1160                                  if (xevent.xfocus.mode == NotifyGrab)                                  if (xevent.xfocus.mode == NotifyGrab)
1161                                          break;                                          break;
1162                                  g_focused = True;                                  g_focused = True;
1163                                  XQueryPointer(g_display, g_wnd, &wdummy, &wdummy, &dummy, &dummy,                                  reset_modifier_keys();
                                               &dummy, &dummy, &state);  
                                 reset_modifier_keys(state);  
1164                                  if (g_grab_keyboard && g_mouse_in_wnd)                                  if (g_grab_keyboard && g_mouse_in_wnd)
1165                                          XGrabKeyboard(g_display, g_wnd, True,                                          XGrabKeyboard(g_display, g_wnd, True,
1166                                                        GrabModeAsync, GrabModeAsync, CurrentTime);                                                        GrabModeAsync, GrabModeAsync, CurrentTime);

Legend:
Removed from v.542  
changed lines
  Added in v.543

  ViewVC Help
Powered by ViewVC 1.1.26