mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Don't immediately unminimize an initially iconic window (#491090)
2008-03-28 Owen Taylor <otaylor@redhat.com> * src/core/window.c (meta_window_new_with_attrs): Don't immediately unminimize an initially iconic window (#491090) svn path=/trunk/; revision=3667
This commit is contained in:
parent
9730f15411
commit
58ef1592a5
@ -1,3 +1,8 @@
|
|||||||
|
2008-03-28 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* src/core/window.c (meta_window_new_with_attrs): Don't
|
||||||
|
immediately unminimize an initially iconic window (#491090)
|
||||||
|
|
||||||
2008-03-27 Thomas Thurman <tthurman@gnome.org>
|
2008-03-27 Thomas Thurman <tthurman@gnome.org>
|
||||||
|
|
||||||
* src/core/session.c (regenerate_save_file, save_state, load_state):
|
* src/core/session.c (regenerate_save_file, save_state, load_state):
|
||||||
|
@ -799,8 +799,11 @@ meta_window_new_with_attrs (MetaDisplay *display,
|
|||||||
* However, we shouldn't unminimize windows here when opening
|
* However, we shouldn't unminimize windows here when opening
|
||||||
* a new display because that breaks passing _NET_WM_STATE_HIDDEN
|
* a new display because that breaks passing _NET_WM_STATE_HIDDEN
|
||||||
* between window managers when replacing them; see bug 358042.
|
* between window managers when replacing them; see bug 358042.
|
||||||
|
*
|
||||||
|
* And we shouldn't unminimize windows if they were initially
|
||||||
|
* iconic.
|
||||||
*/
|
*/
|
||||||
if (!display->display_opening)
|
if (!display->display_opening && !window->initially_iconic)
|
||||||
unminimize_window_and_all_transient_parents (window);
|
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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user