Signed-off-by: Alvaro Fernando García <[email protected]>
---
 src/compositor-drm.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index 3c455bf..61ddea1 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -1577,9 +1577,13 @@ drm_output_init_egl(struct drm_output *output, struct 
drm_compositor *ec)
                return -1;
        }
 
+#ifdef GBM_BO_USE_CURSOR
+       flags = GBM_BO_USE_CURSOR | GBM_BO_USE_WRITE;
+#else
        flags = GBM_BO_USE_WRITE;
        if (ec->cursor_width == 64 && ec->cursor_height == 64)
                flags = GBM_BO_USE_CURSOR_64X64 | flags;
+#endif
 
        for (i = 0; i < 2; i++) {
                if (output->cursor_bo[i])
-- 
2.0.0

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to