[mutter/wayland] wayland: disable extended barriers support
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] wayland: disable extended barriers support
- Date: Mon, 16 Sep 2013 07:37:56 +0000 (UTC)
commit 2d21fbbd35df6dfb8d5ce8809e50168ffd8846ed
Author: Giovanni Campagna <gcampagn redhat com>
Date: Mon Sep 16 09:34:27 2013 +0200
wayland: disable extended barriers support
We don't have actual pointer barriers implemented, so this is a
quick workaround to trigger the fallback paths in the shell, for
the hot corner and the message tray.
To be reverted after 3.10
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 58086ed..4a91522 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -6003,7 +6003,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]