Indent fixes.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@260 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
9bd9507a90
commit
578665e472
9
xwin.c
9
xwin.c
@ -469,7 +469,8 @@ xwin_process_events(void)
|
|||||||
str, sizeof(str), &keysym, NULL);
|
str, sizeof(str), &keysym, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG_KBD(("KeyPress for (keysym 0x%lx, %s)\n", keysym, get_ksname(keysym)));
|
DEBUG_KBD(("KeyPress for (keysym 0x%lx, %s)\n", keysym,
|
||||||
|
get_ksname(keysym)));
|
||||||
|
|
||||||
ev_time = time(NULL);
|
ev_time = time(NULL);
|
||||||
if (handle_special_keys(keysym, xevent.xkey.state, ev_time, True))
|
if (handle_special_keys(keysym, xevent.xkey.state, ev_time, True))
|
||||||
@ -528,7 +529,8 @@ xwin_process_events(void)
|
|||||||
if (xevent.xfocus.mode == NotifyGrab)
|
if (xevent.xfocus.mode == NotifyGrab)
|
||||||
break;
|
break;
|
||||||
focused = True;
|
focused = True;
|
||||||
XQueryPointer(display, wnd, &wdummy, &wdummy, &dummy, &dummy, &dummy, &dummy, &state);
|
XQueryPointer(display, wnd, &wdummy, &wdummy, &dummy, &dummy,
|
||||||
|
&dummy, &dummy, &state);
|
||||||
reset_modifier_keys(state);
|
reset_modifier_keys(state);
|
||||||
if (grab_keyboard && mouse_in_wnd)
|
if (grab_keyboard && mouse_in_wnd)
|
||||||
XGrabKeyboard(display, wnd, True,
|
XGrabKeyboard(display, wnd, True,
|
||||||
@ -549,7 +551,8 @@ xwin_process_events(void)
|
|||||||
mouse_in_wnd = True;
|
mouse_in_wnd = True;
|
||||||
if (fullscreen)
|
if (fullscreen)
|
||||||
{
|
{
|
||||||
XSetInputFocus(display, wnd, RevertToPointerRoot, CurrentTime);
|
XSetInputFocus(display, wnd, RevertToPointerRoot,
|
||||||
|
CurrentTime);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (focused)
|
if (focused)
|
||||||
|
Loading…
Reference in New Issue
Block a user