revert broken change that assumed foreach_ancestor iterated over the

2003-05-18  Havoc Pennington  <hp@pobox.com>

	* src/window.c (unminimize_window_and_all_transient_parents):
	revert broken change that assumed foreach_ancestor iterated
	over the window itself. Andrew Sobala, Rob Adams,
	#113232
`
This commit is contained in:
Havoc Pennington 2003-05-18 17:16:03 +00:00 committed by Havoc Pennington
parent 9e2608524d
commit c370a3e503
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2003-05-18 Havoc Pennington <hp@pobox.com>
* src/window.c (unminimize_window_and_all_transient_parents):
revert broken change that assumed foreach_ancestor iterated
over the window itself. Andrew Sobala, Rob Adams,
#113232
2003-05-16 Rob Adams <robadams@ucla.edu>
Flip the workspace when using up/down/left/right for move window

View File

@ -168,6 +168,8 @@ maybe_leave_show_desktop_mode (MetaWindow *window)
* the desktop via a dialog, then unshow windows again.
*/
is_desktop_or_dock = FALSE;
is_desktop_or_dock_foreach (window,
&is_desktop_or_dock);
meta_window_foreach_ancestor (window, is_desktop_or_dock_foreach,
&is_desktop_or_dock);
@ -1999,7 +2001,7 @@ unminimize_func (MetaWindow *window,
static void
unminimize_window_and_all_transient_parents (MetaWindow *window)
{
/* This also iterates over the window itself */
meta_window_unminimize (window);
meta_window_foreach_ancestor (window, unminimize_func, NULL);
}