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.
This commit is contained in:
Elijah Newren 2006-04-17 03:54:49 +00:00 committed by Elijah Newren
parent 10f0cfd2dc
commit e2ea1cf722
2 changed files with 16 additions and 1 deletions

View File

@ -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.

View File

@ -117,6 +117,8 @@ static void meta_window_apply_session_info (MetaWindow *window,
const MetaWindowSessionInfo *info);
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*
@ -743,6 +745,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);