From b834001fe74f7ff0fe4bfafb8d42af3a660302ea Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Thu, 5 Aug 2004 16:23:37 +0000 Subject: [PATCH] prepend window to mru list instead of appending, since making the window 2004-08-05 Elijah Newren * src/window.c (meta_window_stick): prepend window to mru list instead of appending, since making the window sticky should imply that it is the most recently used, not the least recently. (fixes #149369) --- ChangeLog | 7 +++++++ src/window.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c37ef0369..4c7074c71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-08-05 Elijah Newren + + * src/window.c (meta_window_stick): prepend window to mru list + instead of appending, since making the window sticky should imply + that it is the most recently used, not the least recently. (fixes + #149369) + 2004-08-04 Elijah Newren * configure.in: post-release version bump (2.8.3) that I forgot to diff --git a/src/window.c b/src/window.c index 4885a3c95..5bf8417d5 100644 --- a/src/window.c +++ b/src/window.c @@ -3420,7 +3420,7 @@ meta_window_stick (MetaWindow *window) { workspace = (MetaWorkspace *) tmp->data; if (!g_list_find (workspace->mru_list, window)) - workspace->mru_list = g_list_append (workspace->mru_list, window); + workspace->mru_list = g_list_prepend (workspace->mru_list, window); tmp = tmp->next; }