window: use libwayland-cursor instead of libXcursor
[platform/upstream/weston.git] / clients / smoke.c
index d730124..6104b7c 100644 (file)
@@ -30,6 +30,7 @@
 #include <cairo.h>
 
 #include <wayland-client.h>
+#include <wayland-cursor.h>
 #include "window.h"
 
 struct smoke {
@@ -258,7 +259,7 @@ smoke_motion_handler(struct widget *widget, struct input *input,
                        smoke->b[0].d[k] += 1;
                }
 
-       return POINTER_HAND1;
+       return WL_CURSOR_HAND1;
 }
 
 static void