diff options
author | Elijah Newren <newren@src.gnome.org> | 2004-02-15 14:27:43 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2004-02-15 14:27:43 +0000 |
commit | 339719568fe86c41e6533d7cc5b9c491f9eaa8c5 (patch) | |
tree | 0a58977f1ec402c4fda2d469ea57dc2fb976180f /src | |
parent | fd13022dc43864205fdbca0906d7c3343c537f7e (diff) | |
download | metacity-339719568fe86c41e6533d7cc5b9c491f9eaa8c5.tar.gz |
Prepend windows to mru list when switching workspaces. Fixes #134368
Diffstat (limited to 'src')
-rw-r--r-- | src/workspace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/workspace.c b/src/workspace.c index ee4d0bad..e9cacda6 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -124,7 +124,7 @@ meta_workspace_add_window (MetaWorkspace *workspace, { MetaWorkspace* work = (MetaWorkspace*) tmp->data; 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; } @@ -133,7 +133,7 @@ meta_workspace_add_window (MetaWorkspace *workspace, else { 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); |