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)
This commit is contained in:
Elijah Newren 2004-08-05 16:23:37 +00:00 committed by Elijah Newren
parent 65ba48ad3f
commit b834001fe7
2 changed files with 8 additions and 1 deletions

View File

@ -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> 2004-08-04 Elijah Newren <newren@math.utah.edu>
* configure.in: post-release version bump (2.8.3) that I forgot to * configure.in: post-release version bump (2.8.3) that I forgot to

View File

@ -3420,7 +3420,7 @@ meta_window_stick (MetaWindow *window)
{ {
workspace = (MetaWorkspace *) tmp->data; workspace = (MetaWorkspace *) tmp->data;
if (!g_list_find (workspace->mru_list, window)) 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; tmp = tmp->next;
} }