summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Dösinger <[email protected]>2014-11-20 14:56:35 +0100
committerMartin Wimpress <[email protected]>2015-08-20 17:47:12 +0100
commit0e06e0c8f093823afee971d2cb81c7c81d6f7981 (patch)
tree4af532261d953bb359c0e7e5ead49fed8313581d /src
parentfa44a50bec82c569c4f45f626294349b6e472257 (diff)
downloadmarco-0e06e0c8f093823afee971d2cb81c7c81d6f7981.tar.bz2
marco-0e06e0c8f093823afee971d2cb81c7c81d6f7981.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.
Diffstat (limited to 'src')
-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 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;