mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -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)
|
if (((XIEnterEvent *) input_event)->deviceid == META_VIRTUAL_CORE_POINTER_ID)
|
||||||
return input_event;
|
return input_event;
|
||||||
break;
|
break;
|
||||||
|
#ifdef HAVE_XI23
|
||||||
case XI_BarrierHit:
|
case XI_BarrierHit:
|
||||||
case XI_BarrierLeave:
|
case XI_BarrierLeave:
|
||||||
if (((XIBarrierEvent *) input_event)->deviceid == META_VIRTUAL_CORE_POINTER_ID)
|
if (((XIBarrierEvent *) input_event)->deviceid == META_VIRTUAL_CORE_POINTER_ID)
|
||||||
return input_event;
|
return input_event;
|
||||||
break;
|
break;
|
||||||
|
#endif /* HAVE_XI23 */
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user