mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 09:46:08 -05:00
barrier: fix fallback for unsupported servers
add missing ifdef HAVE_XI23. https://bugzilla.gnome.org/show_bug.cgi?id=677215
This commit is contained in:
parent
c64eb94724
commit
b3c572b8e3
@ -1837,11 +1837,13 @@ get_input_event (MetaDisplay *display,
|
||||
if (((XIEnterEvent *) input_event)->deviceid == META_VIRTUAL_CORE_POINTER_ID)
|
||||
return input_event;
|
||||
break;
|
||||
#ifdef HAVE_XI23
|
||||
case XI_BarrierHit:
|
||||
case XI_BarrierLeave:
|
||||
if (((XIBarrierEvent *) input_event)->deviceid == META_VIRTUAL_CORE_POINTER_ID)
|
||||
return input_event;
|
||||
break;
|
||||
#endif /* HAVE_XI23 */
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user