Use MRU list to find focusing window after a window is deleted instead of

2003-08-17  Ray Strode  <halfline@hawaii.rr.com>

	* src/delete.c (meta_window_delete): Use MRU list to find focusing
	window after a window is deleted instead of using top window. Fix
	for #108643.
This commit is contained in:
Ray Strode 2003-08-17 21:43:50 +00:00 committed by Ray Strode
parent 22eab481b1
commit 81da59a8a4
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-08-17 Ray Strode <halfline@hawaii.rr.com>
* src/delete.c (meta_window_delete): Use MRU list to find focusing
window after a window is deleted instead of using top window. Fix
for #108643.
2003-08-16 Havoc Pennington <hp@pobox.com> 2003-08-16 Havoc Pennington <hp@pobox.com>
Patch from Soeren Sandmann #108926 to improve opaque resize Patch from Soeren Sandmann #108926 to improve opaque resize

View File

@ -386,9 +386,9 @@ meta_window_delete (MetaWindow *window,
* I don't know how to avoid that though. * I don't know how to avoid that though.
*/ */
meta_topic (META_DEBUG_FOCUS, meta_topic (META_DEBUG_FOCUS,
"Focusing top window because focus window %s was deleted/killed\n", "Focusing MRU window because focus window %s was deleted/killed\n",
window->desc); window->desc);
meta_workspace_focus_top_window (window->screen->active_workspace, meta_workspace_focus_mru_window (window->screen->active_workspace,
window); window);
} }
else else