Fixed failing fullscreen toggle in disconnect/reconnect mode

When starting rdesktop with a fixed window size against W2008R2,
toggling to fullscreen failed to resize window to expected fullscreen
size.

Signed-off-by: Henrik Andersson <hean01@cendio.com>
Signed-off-by: Thomas Nilefalk <thoni56@cendio.se>
This commit is contained in:
Cendio 2018-01-11 10:56:59 +01:00
parent 7f76e2218a
commit 884f56a8e7

2
xwin.c
View File

@ -2368,6 +2368,8 @@ xwin_toggle_fullscreen(void)
{ {
/* Change session size using disconnect / reconnect mechanism */ /* Change session size using disconnect / reconnect mechanism */
g_pending_resize = True; g_pending_resize = True;
g_window_width = width;
g_window_height = height;
return; return;
} }
else else