mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
Only put demands-attention windows into alt-tab if of appropriate type
Windows demanding attention should never appear in the alt-tab list unless they're of a type which might have appeared there anyway. This solves a problem under AWN where docks which were marked as demanding attention appeared in all alt-tab lists; they were irrelevant and it was impossible to remove them from the lists. svn path=/trunk/; revision=4123
This commit is contained in:
parent
3a80bd47cc
commit
bacccafe3c
@ -4564,7 +4564,8 @@ meta_display_get_tab_list (MetaDisplay *display,
|
|||||||
|
|
||||||
/* Check to see if it demands attention */
|
/* Check to see if it demands attention */
|
||||||
if (l_window->wm_state_demands_attention &&
|
if (l_window->wm_state_demands_attention &&
|
||||||
l_window->workspace!=workspace)
|
l_window->workspace!=workspace &&
|
||||||
|
IN_TAB_CHAIN (l_window, type))
|
||||||
{
|
{
|
||||||
/* if it does, add it to the popup */
|
/* if it does, add it to the popup */
|
||||||
tab_list = g_list_prepend (tab_list, l_window);
|
tab_list = g_list_prepend (tab_list, l_window);
|
||||||
|
Loading…
Reference in New Issue
Block a user