events: Fix a typo preventing the None detection from working properly

XINotifyDetailNone is a value for detail, not for mode.
This commit is contained in:
Jasper St. Pierre 2014-09-16 19:53:05 -06:00
parent 5c40345128
commit be85ead2f8

View File

@ -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 "