diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/window.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/window.c b/src/core/window.c index cdf7ab3b..7d82a32d 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -2158,6 +2158,14 @@ meta_window_show (MetaWindow *window) if (!window->placed) window->denied_focus_and_not_transient = TRUE; } + else if (window->type == META_WINDOW_MODAL_DIALOG) + { + /* Keep the non-modal transient behavior from 6ea23df for GTK + * popups and VLC controls, but focus modal dialogs that block + * the focused ancestor. + */ + takes_focus_on_map = TRUE; + } } if (!window->placed) |
