diff options
-rw-r--r-- | src/core/window.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c index 485afbc1..af028c3e 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -8662,7 +8662,15 @@ meta_window_appears_focused (MetaWindow *window) meta_window_foreach_transient (window, transient_has_focus, &focus); return focus; } - return window->has_focus; + + if (window->has_focus) + return TRUE; + + if (window->type == META_WINDOW_DOCK || + window->type == META_WINDOW_SPLASHSCREEN) + return TRUE; + + return FALSE; } gboolean |