mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
Prepend windows to mru list when switching workspaces. Fixes #134368
This commit is contained in:
parent
fd13022dc4
commit
339719568f
@ -1,3 +1,8 @@
|
|||||||
|
2004-02-14 Elijah Newren <newren@math.utah.edu
|
||||||
|
|
||||||
|
* src/workspace.c: When moving a window to a different workspace,
|
||||||
|
prepend it to the mru list insted of appending it. Fixes #134368.
|
||||||
|
|
||||||
2004-02-14 Rob Adams <readams@readams.net>
|
2004-02-14 Rob Adams <readams@readams.net>
|
||||||
|
|
||||||
If we're moving a window and receive a _NET_CURRENT_DESKTOP
|
If we're moving a window and receive a _NET_CURRENT_DESKTOP
|
||||||
|
@ -124,7 +124,7 @@ meta_workspace_add_window (MetaWorkspace *workspace,
|
|||||||
{
|
{
|
||||||
MetaWorkspace* work = (MetaWorkspace*) tmp->data;
|
MetaWorkspace* work = (MetaWorkspace*) tmp->data;
|
||||||
if (!g_list_find (work->mru_list, window))
|
if (!g_list_find (work->mru_list, window))
|
||||||
work->mru_list = g_list_append (work->mru_list, window);
|
work->mru_list = g_list_prepend (work->mru_list, window);
|
||||||
|
|
||||||
tmp = tmp->next;
|
tmp = tmp->next;
|
||||||
}
|
}
|
||||||
@ -133,7 +133,7 @@ meta_workspace_add_window (MetaWorkspace *workspace,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
g_assert (g_list_find (workspace->mru_list, window) == NULL);
|
g_assert (g_list_find (workspace->mru_list, window) == NULL);
|
||||||
workspace->mru_list = g_list_append (workspace->mru_list, window);
|
workspace->mru_list = g_list_prepend (workspace->mru_list, window);
|
||||||
}
|
}
|
||||||
|
|
||||||
workspace->windows = g_list_prepend (workspace->windows, window);
|
workspace->windows = g_list_prepend (workspace->windows, window);
|
||||||
|
Loading…
Reference in New Issue
Block a user