mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
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;
|
break;
|
||||||
|
|
||||||
if (enter_event->evtype == XI_FocusIn &&
|
if (enter_event->evtype == XI_FocusIn &&
|
||||||
enter_event->mode == XINotifyDetailNone)
|
enter_event->detail == XINotifyDetailNone)
|
||||||
{
|
{
|
||||||
meta_topic (META_DEBUG_FOCUS,
|
meta_topic (META_DEBUG_FOCUS,
|
||||||
"Focus got set to None, probably due to "
|
"Focus got set to None, probably due to "
|
||||||
|
Loading…
Reference in New Issue
Block a user