mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
Revert "display: Don't put minimized windows at the back of alt-tab"
This reverts commit 7e61ef0936
.
https://bugzilla.gnome.org/show_bug.cgi?id=705177
This commit is contained in:
parent
5d8ff2e34d
commit
492a1b244f
@ -2440,13 +2440,22 @@ meta_display_get_tab_list (MetaDisplay *display,
|
|||||||
|
|
||||||
mru_list = workspace ? workspace->mru_list : global_mru_list;
|
mru_list = workspace ? workspace->mru_list : global_mru_list;
|
||||||
|
|
||||||
/* Windows sellout mode - MRU order.
|
/* Windows sellout mode - MRU order. Collect unminimized windows
|
||||||
|
* then minimized so minimized windows aren't in the way so much.
|
||||||
*/
|
*/
|
||||||
for (tmp = mru_list; tmp; tmp = tmp->next)
|
for (tmp = mru_list; tmp; tmp = tmp->next)
|
||||||
{
|
{
|
||||||
MetaWindow *window = tmp->data;
|
MetaWindow *window = tmp->data;
|
||||||
|
|
||||||
if (IN_TAB_CHAIN (window, type))
|
if (!window->minimized && IN_TAB_CHAIN (window, type))
|
||||||
|
tab_list = g_list_prepend (tab_list, window);
|
||||||
|
}
|
||||||
|
|
||||||
|
for (tmp = mru_list; tmp; tmp = tmp->next)
|
||||||
|
{
|
||||||
|
MetaWindow *window = tmp->data;
|
||||||
|
|
||||||
|
if (window->minimized && IN_TAB_CHAIN (window, type))
|
||||||
tab_list = g_list_prepend (tab_list, window);
|
tab_list = g_list_prepend (tab_list, window);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user