mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
Focusing a window upon unshowing the desktop in various ways (panel applet
2004-08-06 Elijah Newren <newren@math.utah.edu> * src/display.c (event_callback): Focusing a window upon unshowing the desktop in various ways (panel applet or keybinding) was inconsistent for sloppy and click focus modes. Fix this by calling meta_workspace_focus_default_window after unshowing the desktop via a _NET_SHOWING_DESKTOP message. (resolves #149543)
This commit is contained in:
parent
385248044d
commit
e81659d2ff
@ -1,3 +1,11 @@
|
||||
2004-08-06 Elijah Newren <newren@math.utah.edu>
|
||||
|
||||
* src/display.c (event_callback): Focusing a window upon unshowing
|
||||
the desktop in various ways (panel applet or keybinding) was
|
||||
inconsistent for sloppy and click focus modes. Fix this by
|
||||
calling meta_workspace_focus_default_window after unshowing the
|
||||
desktop via a _NET_SHOWING_DESKTOP message. (resolves #149543)
|
||||
|
||||
2004-08-06 Elijah Newren <newren@math.utah.edu>
|
||||
|
||||
* src/workspace.c (meta_workspace_focus_default_window): prevent
|
||||
|
@ -2086,7 +2086,10 @@ event_callback (XEvent *event,
|
||||
if (showing_desktop)
|
||||
meta_screen_show_desktop (screen);
|
||||
else
|
||||
{
|
||||
meta_screen_unshow_desktop (screen);
|
||||
meta_workspace_focus_default_window (screen->active_workspace, NULL);
|
||||
}
|
||||
}
|
||||
else if (event->xclient.message_type ==
|
||||
display->atom_metacity_restart_message)
|
||||
|
Loading…
Reference in New Issue
Block a user