[mutter/wip/wayland-work: 2/20] display: don't report extended barrier support on wayland
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/wayland-work: 2/20] display: don't report extended barrier support on wayland
- Date: Thu, 5 Sep 2013 16:55:15 +0000 (UTC)
commit 079081bc2f5d217c703af69e81509625fd78a472
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]