don't use a minimized window as the next focus window, patch from

2002-06-17  Havoc Pennington  <hp@pobox.com>

	* src/stack.c (meta_stack_get_default_focus_window): don't use a
	minimized window as the next focus window, patch from
	blackc@speakeasy.net
This commit is contained in:
Havoc Pennington 2002-06-18 03:32:27 +00:00 committed by Havoc Pennington
parent e51e7ab77a
commit dbcacfa5ba
3 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2002-06-17 Havoc Pennington <hp@pobox.com>
* src/stack.c (meta_stack_get_default_focus_window): don't use a
minimized window as the next focus window, patch from
blackc@speakeasy.net
2002-06-17 Havoc Pennington <hp@pobox.com>
* src/place.c (find_next_cascade): increase the cascade threshold

View File

@ -1011,6 +1011,7 @@ meta_stack_get_default_focus_window (MetaStack *stack,
if (window &&
window != not_this_one &&
(window->unmaps_pending == 0) &&
!window->minimized &&
(workspace == NULL ||
meta_window_visible_on_workspace (window, workspace)))
{

View File

@ -948,6 +948,7 @@ set_net_wm_state (MetaWindow *window)
return meta_error_trap_pop (window->display);
}
/* FIXME rename this, it makes it sound like map state is relevant */
gboolean
meta_window_visible_on_workspace (MetaWindow *window,
MetaWorkspace *workspace)