summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/window.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/window.c b/src/core/window.c
index 0a2582e9..b9261d32 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -8664,7 +8664,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