if (xfc->_NET_WM_FULLSCREEN_MONITORS != None)
{
- /* Set monitor bounds */
- if (settings->MonitorCount > 1)
- {
- xf_SendClientEvent(xfc, window->handle, xfc->_NET_WM_FULLSCREEN_MONITORS, 5,
- xfc->fullscreenMonitors.top,
- xfc->fullscreenMonitors.bottom,
- xfc->fullscreenMonitors.left,
- xfc->fullscreenMonitors.right,
- 1);
- }
-
xf_ResizeDesktopWindow(xfc, window, width, height);
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)
+ {
+ xf_SendClientEvent(xfc, window->handle, xfc->_NET_WM_FULLSCREEN_MONITORS, 5,
+ xfc->fullscreenMonitors.top,
+ xfc->fullscreenMonitors.bottom,
+ xfc->fullscreenMonitors.left,
+ xfc->fullscreenMonitors.right,
+ 1);
+ }
}
else
{