diff options
author | Elijah Newren <newren@math.utah.edu> | 2004-08-05 16:23:37 +0000 |
---|---|---|
committer | Elijah Newren <newren@src.gnome.org> | 2004-08-05 16:23:37 +0000 |
commit | b834001fe74f7ff0fe4bfafb8d42af3a660302ea (patch) | |
tree | d8be4e9abb33fb2fe54721edb3045aa2304fa8ef | |
parent | 65ba48ad3fcb85eae651f206f1d1c5457059a208 (diff) | |
download | metacity-b834001fe74f7ff0fe4bfafb8d42af3a660302ea.tar.gz |
prepend window to mru list instead of appending, since making the window
2004-08-05 Elijah Newren <newren@math.utah.edu>
* 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)
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/window.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2004-08-05 Elijah Newren <newren@math.utah.edu> + + * 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 <newren@math.utah.edu> * configure.in: post-release version bump (2.8.3) that I forgot to diff --git a/src/window.c b/src/window.c index 4885a3c9..5bf8417d 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; } |