mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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:
parent
e51e7ab77a
commit
dbcacfa5ba
@ -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
|
||||
|
@ -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)))
|
||||
{
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user