From 50c694fab451aca299345b96f4551743b18bf734 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sun, 8 Dec 2013 14:59:52 +0100 Subject: [PATCH] Added errors for override redirect iconification. --- src/x11_window.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/x11_window.c b/src/x11_window.c index 53960481..03aee283 100644 --- a/src/x11_window.c +++ b/src/x11_window.c @@ -1119,6 +1119,9 @@ void _glfwPlatformIconifyWindow(_GLFWwindow* window) { // Override-redirect windows cannot be iconified or restored, as those // tasks are performed by the window manager + _glfwInputError(GLFW_API_UNAVAILABLE, + "X11: Iconification of full screen windows requires " + "a WM that supports EWMH"); return; } @@ -1131,6 +1134,9 @@ void _glfwPlatformRestoreWindow(_GLFWwindow* window) { // Override-redirect windows cannot be iconified or restored, as those // tasks are performed by the window manager + _glfwInputError(GLFW_API_UNAVAILABLE, + "X11: Iconification of full screen windows requires " + "a WM that supports EWMH"); return; }