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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue