revert the change here

2003-11-20  Havoc Pennington  <hp@redhat.com>

	* src/window.c (meta_window_notify_focus): revert the change here
This commit is contained in:
Havoc Pennington 2003-11-20 05:52:37 +00:00 committed by Havoc Pennington
parent 917dfefd6c
commit 24d8655188
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-11-20 Havoc Pennington <hp@redhat.com>
* src/window.c (meta_window_notify_focus): revert the change here
2003-11-17 Rob Adams <readams@readams.net 2003-11-17 Rob Adams <readams@readams.net
* src/window.c (set_allowed_actions_hint): increment i between * src/window.c (set_allowed_actions_hint): increment i between

View File

@ -4046,10 +4046,10 @@ meta_window_notify_focus (MetaWindow *window,
window->has_focus = TRUE; window->has_focus = TRUE;
/* Move to the front of the focusing workspace's MRU list /* Move to the front of the focusing workspace's MRU list
* FIXME is the active workspace guaranteed to be the
* focusing workspace?
*/ */
if (window->screen->active_workspace && if (window->screen->active_workspace)
g_list_find (window->screen->active_workspace->mru_list,
window))
{ {
window->screen->active_workspace->mru_list = window->screen->active_workspace->mru_list =
g_list_remove (window->screen->active_workspace->mru_list, g_list_remove (window->screen->active_workspace->mru_list,