Hardware cursors have been causing some problems with some drivers, mostly i915

This will probably be changed once Atomic Mode Setting arrives, to probably 
only force gl cursors
to always be on when Atomic Mode Setting isn't supported by the driver, or 
kernel version
---
 src/compositor-drm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 0cdb8f4..0636a37 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -1641,6 +1641,9 @@ drm_output_init_egl(struct drm_output *output, struct 
drm_compositor *ec)
                weston_log("cursor buffers unavailable, using gl cursors\n");
                ec->cursors_are_broken = 1;
        }
+       /* TODO Remove when atomic mode setting is merged into the mainline 
kernel, and detect if the
+        * running kernel supports atomic mode setting instead. */
+       ec->cursors_are_broken = 1;
 
        return 0;
 }
-- 
2.1.0

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to