Fix rdesktop not resizing properly in xwin_toggle_fullscreen with
some window managers. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@156 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
e76dae49d7
commit
c113538377
2
xwin.c
2
xwin.c
@ -459,8 +459,8 @@ xwin_toggle_fullscreen()
|
||||
|
||||
XUnmapWindow(display, wnd);
|
||||
attribs.override_redirect = fullscreen;
|
||||
XMoveResizeWindow(display, wnd, 0, 0, newwidth, newheight);
|
||||
XChangeWindowAttributes(display, wnd, CWOverrideRedirect, &attribs);
|
||||
XResizeWindow(display, wnd, newwidth, newheight);
|
||||
xwin_map_window();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user