From bd6536dec38c0a1c362f67f1641b1d9eadd5d1cc Mon Sep 17 00:00:00 2001 From: Giovanni Campagna Date: Thu, 29 Aug 2013 14:04:10 +0200 Subject: [PATCH] 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) --- src/core/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/display.c b/src/core/display.c index 7d67c2e9a..7b8a21768 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -5984,7 +5984,7 @@ meta_display_get_xinput_opcode (MetaDisplay *display) gboolean 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 (); } /**