From 56122cbe2f4a29a416707d4460a352ad57f27060 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 15 Jun 2015 14:52:19 +0200 Subject: [PATCH] Keep X11 full screen window properties on iconify. --- src/x11_window.c | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/x11_window.c b/src/x11_window.c index cd015549..48f25011 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -834,26 +834,6 @@ static void leaveFullscreenMode(_GLFWwindow* window) _glfw.x11.saver.blanking, _glfw.x11.saver.exposure); } - - if (_glfw.x11.NET_WM_BYPASS_COMPOSITOR) - { - const unsigned long value = 0; - - XChangeProperty(_glfw.x11.display, window->x11.handle, - _glfw.x11.NET_WM_BYPASS_COMPOSITOR, XA_CARDINAL, 32, - PropModeReplace, (unsigned char*) &value, 1); - } - - if (_glfw.x11.NET_WM_STATE && _glfw.x11.NET_WM_STATE_FULLSCREEN) - { - // Ask the window manager to make the GLFW window a normal window - // Normal windows usually have frames and other decorations - sendEventToWM(window, - _glfw.x11.NET_WM_STATE, - _NET_WM_STATE_REMOVE, - _glfw.x11.NET_WM_STATE_FULLSCREEN, - 0, 1, 0); - } } // Process the specified X event