summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/display.c b/src/core/display.c
index 6af38087..f470ca5a 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -2223,7 +2223,7 @@ static gboolean event_callback(XEvent* event, gpointer data)
meta_event_detail_to_string (event->xfocus.detail));
if (event->type == FocusIn &&
- event->xfocus.detail == NotifyDetailNone)
+ (event->xfocus.detail == NotifyDetailNone || event->xfocus.detail == NotifyPointerRoot))
{
meta_topic (META_DEBUG_FOCUS,
"Focus got set to None, probably due to "