summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Dösinger <[email protected]>2014-11-20 14:56:35 +0100
committerinfirit <[email protected]>2015-07-31 15:14:23 +0200
commit2847fefe1ae96a795b08115e3e9d8fc45ec939ca (patch)
tree3a0376e9bdeba3ac91b66324b31d24a37fd9a68a
parent627d2bac855ed34c3e5bb122078e078a06fa264e (diff)
downloadmarco-2847fefe1ae96a795b08115e3e9d8fc45ec939ca.tar.bz2
marco-2847fefe1ae96a795b08115e3e9d8fc45ec939ca.tar.xz
Allow programmatic minimization without MWM_FUNC_MINIMIZE
This fixes switching out of fullscreen Direct3D applications running in Wine. See issue 166 for more details.
-rw-r--r--src/core/window.c3
1 files changed, 1 insertions, 2 deletions
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;