summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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 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;