summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 631229b7..694ba99e 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -1463,6 +1463,7 @@ finish_unminimize (gpointer data)
MetaWindow *window = data;
meta_window_show (window);
+ window->was_minimized = FALSE;
window->effect_pending = META_EFFECT_NONE;
}
@@ -2355,7 +2356,6 @@ meta_window_show (MetaWindow *window)
}
else if (window->was_minimized)
{
- window->was_minimized = FALSE;
meta_window_focus(window, timestamp);
}