Choose correct window to focus when "un-showing" the desktop. Fixes

2004-06-24  Elijah Newren  <newren@math.utah.edu>

	* src/keybindings.c: (handle_toggle_desktop): Choose correct
	window to focus when "un-showing" the desktop.  Fixes #144900.
This commit is contained in:
Elijah Newren 2004-06-24 20:47:31 +00:00 committed by Elijah Newren
parent 9d1d8fa062
commit d0d0925e29
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-06-24 Elijah Newren <newren@math.utah.edu>
* src/keybindings.c: (handle_toggle_desktop): Choose correct
window to focus when "un-showing" the desktop. Fixes #144900.
2004-06-24 Elijah Newren <newren@math.utah.edu>
Make choice of focus window be consistent for each focus mode.

View File

@ -2756,7 +2756,7 @@ handle_toggle_desktop (MetaDisplay *display,
if (screen->showing_desktop)
{
meta_screen_unshow_desktop (screen);
meta_workspace_focus_top_window (screen->active_workspace, NULL);
meta_workspace_focus_default_window (screen->active_workspace, NULL);
}
else
meta_screen_show_desktop (screen);