mirror of
https://github.com/brl/mutter.git
synced 2024-11-09 07:26:51 -05:00
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:
parent
10f0cfd2dc
commit
e2ea1cf722
@ -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>
|
2006-04-15 Elijah Newren <newren gmail com>
|
||||||
|
|
||||||
Patch from Dan Sanders to fix #335076.
|
Patch from Dan Sanders to fix #335076.
|
||||||
|
@ -116,7 +116,9 @@ static gboolean queue_calc_showing_func (MetaWindow *window,
|
|||||||
static void meta_window_apply_session_info (MetaWindow *window,
|
static void meta_window_apply_session_info (MetaWindow *window,
|
||||||
const MetaWindowSessionInfo *info);
|
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
|
#ifdef WITH_VERBOSE_MODE
|
||||||
static const char*
|
static const char*
|
||||||
@ -743,6 +745,10 @@ meta_window_new_with_attrs (MetaDisplay *display,
|
|||||||
meta_window_foreach_transient (window,
|
meta_window_foreach_transient (window,
|
||||||
queue_calc_showing_func,
|
queue_calc_showing_func,
|
||||||
NULL);
|
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_error_trap_pop (display, FALSE); /* pop the XSync()-reducing trap */
|
||||||
meta_display_ungrab (display);
|
meta_display_ungrab (display);
|
||||||
|
Loading…
Reference in New Issue
Block a user