Skip to content

Commit

Permalink
Fix for FreeRDP#3666
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Mattes committed Jul 22, 2018
1 parent 5a154dc commit a7217df
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions client/X11/xf_window.c
Expand Up @@ -209,12 +209,6 @@ void xf_SetWindowFullscreen(xfContext* xfc, xfWindow* window, BOOL fullscreen)
fullscreen ? _NET_WM_STATE_ADD : _NET_WM_STATE_REMOVE,
xfc->_NET_WM_STATE_FULLSCREEN, 0, 0);

if (!fullscreen)
{
/* leave full screen: move the window after removing NET_WM_STATE_FULLSCREEN */
XMoveWindow(xfc->display, window->handle, startX, startY);
}

/* Set monitor bounds */
if (settings->MonitorCount > 1)
{
Expand Down

0 comments on commit a7217df

Please sign in to comment.