From 2847fefe1ae96a795b08115e3e9d8fc45ec939ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20D=C3=B6singer?= Date: Thu, 20 Nov 2014 14:56:35 +0100 Subject: Allow programmatic minimization without MWM_FUNC_MINIMIZE This fixes switching out of fullscreen Direct3D applications running in Wine. See issue 166 for more details. --- src/core/window.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/core/window.c b/src/core/window.c index 9b2ad926..44755b06 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -5181,8 +5181,7 @@ meta_window_client_message (MetaWindow *window, { meta_verbose ("WM_CHANGE_STATE client message, state: %ld\n", event->xclient.data.l[0]); - if (event->xclient.data.l[0] == IconicState && - window->has_minimize_func) + if (event->xclient.data.l[0] == IconicState) meta_window_minimize (window); return TRUE; -- cgit v1.2.1