mirror of
https://github.com/brl/mutter.git
synced 2025-02-18 06:04:10 +00:00
display: don't report extended barrier support on wayland
Even if the xserver does them, they're useless because it doesn't get the pointer events. This is a lame workaround for not having real barriers in wayland, but it fixes the hot corner and message tray (because it triggers the old xserver path)
This commit is contained in:
parent
b53bf0e8c2
commit
bd6536dec3
@ -5984,7 +5984,7 @@ meta_display_get_xinput_opcode (MetaDisplay *display)
|
|||||||
gboolean
|
gboolean
|
||||||
meta_display_supports_extended_barriers (MetaDisplay *display)
|
meta_display_supports_extended_barriers (MetaDisplay *display)
|
||||||
{
|
{
|
||||||
return META_DISPLAY_HAS_XINPUT_23 (display);
|
return META_DISPLAY_HAS_XINPUT_23 (display) && !meta_is_wayland_compositor ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user