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:
parent
5c40345128
commit
be85ead2f8
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user