Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@100 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
a7c00fc2e6
commit
f56b13e3ae
15
xwin.c
15
xwin.c
@ -311,7 +311,8 @@ ui_create_window_obj(int xpos, int ypos, int width, int height, int valuemask)
|
||||
XMapWindow(display, wnd);
|
||||
|
||||
/* Wait for VisibilityNotify Event */
|
||||
for (;;) {
|
||||
for (;;)
|
||||
{
|
||||
XNextEvent(display, &xevent);
|
||||
if (xevent.type == VisibilityNotify)
|
||||
break;
|
||||
@ -408,7 +409,8 @@ ui_create_window()
|
||||
input_mask |= ExposureMask;
|
||||
|
||||
if (fullscreen)
|
||||
ui_create_window_obj(0, 0, width, height, CWBackingStore | CWBackPixel | CWOverrideRedirect);
|
||||
ui_create_window_obj(0, 0, width, height,
|
||||
CWBackingStore | CWBackPixel | CWOverrideRedirect);
|
||||
else
|
||||
ui_create_window_obj(0, 0, width, height, CWBackingStore | CWBackPixel);
|
||||
|
||||
@ -462,15 +464,16 @@ toggle_fullscreen()
|
||||
XFreePixmap(display, backstore);
|
||||
XFreeGC(display, gc);
|
||||
XDestroyWindow(display, wnd);
|
||||
if (fullscreen) {
|
||||
if (fullscreen)
|
||||
{
|
||||
attribs.override_redirect = True;
|
||||
ui_create_window_obj(0, 0, dpy_width, dpy_height,
|
||||
CWBackingStore | CWBackPixel | CWOverrideRedirect);
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
attribs.override_redirect = False;
|
||||
ui_create_window_obj(0, 0, width, height,
|
||||
CWBackingStore | CWBackPixel);
|
||||
ui_create_window_obj(0, 0, width, height, CWBackingStore | CWBackPixel);
|
||||
}
|
||||
ui_set_cursor(cache_get_cursor(0));
|
||||
ui_move_pointer(width / 2, height / 2);
|
||||
|
Loading…
Reference in New Issue
Block a user