Commit 33971956 authored by Elijah Newren's avatar Elijah Newren

Prepend windows to mru list when switching workspaces. Fixes #134368

parent fd13022d
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>
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;
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment