diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | src/window.c | 8 |
2 files changed, 16 insertions, 1 deletions
@@ -1,3 +1,12 @@ +2006-04-16 Elijah Newren <newren gmail com> + + Patch from Dan Sanders to fix #334899. + + * window.c (meta_window_new_with_attrs): Unminimize ancestors of + new windows when mapped; this prevents e.g. confirmation windows + from causing applications to appear locked when closing via the + window list. + 2006-04-15 Elijah Newren <newren gmail com> Patch from Dan Sanders to fix #335076. diff --git a/src/window.c b/src/window.c index 123996c2..65acc170 100644 --- a/src/window.c +++ b/src/window.c @@ -119,7 +119,9 @@ static gboolean queue_calc_showing_func (MetaWindow *window, static void meta_window_apply_session_info (MetaWindow *window, const MetaWindowSessionInfo *info); -static void unmaximize_window_before_freeing (MetaWindow *window); +static void unmaximize_window_before_freeing (MetaWindow *window); +static void unminimize_window_and_all_transient_parents (MetaWindow *window); + #ifdef WITH_VERBOSE_MODE static const char* @@ -745,6 +747,10 @@ meta_window_new_with_attrs (MetaDisplay *display, meta_window_foreach_transient (window, queue_calc_showing_func, NULL); + /* See bug 334899; the window may have minimized ancestors which need to be + * shown. + */ + unminimize_window_and_all_transient_parents (window); meta_error_trap_pop (display, FALSE); /* pop the XSync()-reducing trap */ meta_display_ungrab (display); |