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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue