mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
allow dialogs to steal focus from panels/desktop
2002-06-11 Havoc Pennington <hp@redhat.com> * src/window.c (meta_window_show): allow dialogs to steal focus from panels/desktop
This commit is contained in:
parent
702eab3a6c
commit
00e572800c
@ -1,3 +1,8 @@
|
||||
2002-06-11 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* src/window.c (meta_window_show): allow dialogs to steal focus
|
||||
from panels/desktop
|
||||
|
||||
2002-06-10 Jayaraj Rajappan <jayaraj.rajappan@wipro.com>
|
||||
|
||||
* src/fixedtip.c: include <config.h> - fix for #83960
|
||||
|
@ -1347,7 +1347,9 @@ meta_window_show (MetaWindow *window)
|
||||
if (window->display->focus_window == NULL ||
|
||||
(window->display->focus_window &&
|
||||
meta_window_is_ancestor_of_transient (window->display->focus_window,
|
||||
window)))
|
||||
window)) ||
|
||||
(window->display->focus_window->type == META_WINDOW_DOCK ||
|
||||
window->display->focus_window->type == META_WINDOW_DESKTOP))
|
||||
meta_window_focus (window,
|
||||
meta_display_get_current_time (window->display));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user