From 0e06e0c8f093823afee971d2cb81c7c81d6f7981 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 dea5fa47..9e780390 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