[mutter] events: Fix a typo preventing the None detection from working properly
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] events: Fix a typo preventing the None detection from working properly
- Date: Wed, 17 Sep 2014 02:26:00 +0000 (UTC)
commit be85ead2f8211593199b4fc7285f066145dd8208
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Sep 16 19:53:05 2014 -0600
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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/x11/events.c b/src/x11/events.c
index cfb1e44..d26b2a4 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 "
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]