summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 2b7a867e..631229b7 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -2353,6 +2353,11 @@ meta_window_show (MetaWindow *window)
meta_display_increment_focus_sentinel (window->display);
}
}
+ else if (window->was_minimized)
+ {
+ window->was_minimized = FALSE;
+ meta_window_focus(window, timestamp);
+ }
set_net_wm_state (window);