diff options
author | Elijah Newren <newren gmail com> | 2006-04-17 04:02:54 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2006-04-17 04:02:54 +0000 |
commit | d699f04739149d469bc00981e33b5d4a9f8d6298 (patch) | |
tree | d3b7a04474775310b8e77b434e234dded7661f5b | |
parent | feb1594d305ef4cb6640345894523a803b65bd46 (diff) | |
download | metacity-d699f04739149d469bc00981e33b5d4a9f8d6298.tar.gz |
Patch from Dan Sanders to fix #334899.
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.
-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); |