From be85ead2f8211593199b4fc7285f066145dd8208 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 16 Sep 2014 19:53:05 -0600 Subject: [PATCH] events: Fix a typo preventing the None detection from working properly XINotifyDetailNone is a value for detail, not for mode. --- src/x11/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x11/events.c b/src/x11/events.c index cfb1e4404..d26b2a4e6 100644 --- a/src/x11/events.c +++ b/src/x11/events.c @@ -884,7 +884,7 @@ handle_input_xevent (MetaDisplay *display, break; if (enter_event->evtype == XI_FocusIn && - enter_event->mode == XINotifyDetailNone) + enter_event->detail == XINotifyDetailNone) { meta_topic (META_DEBUG_FOCUS, "Focus got set to None, probably due to "