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:
Matt Chapman 2002-09-15 11:39:16 +00:00
parent e76dae49d7
commit c113538377

2
xwin.c
View File

@ -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();
}