[mutter/wip/wayland-work: 8/25] display: don't report extended barrier support on wayland



commit 3b503483476aaf749521b2e68ae624139a8a2dac
Author: Giovanni Campagna <gcampagn redhat com>
Date:   Thu Aug 29 14:04:10 2013 +0200

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 7a287b8..21454c4 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -5987,7 +5987,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 ();
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]