aboutsummaryrefslogtreecommitdiff
path: root/xwayland/xwm.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-02 16:49:22 +0100
committeremersion <contact@emersion.fr>2017-11-02 16:49:22 +0100
commit3f4ad47421721c5df576e1a99e487a28a6318f82 (patch)
tree063ee417ab937b1d03c897b4e1b83da17cb8d7ff /xwayland/xwm.h
parentddd7b7711cabcabe73db6446bc02965fc645b244 (diff)
Use compositor theme for xwm cursor
Diffstat (limited to 'xwayland/xwm.h')
-rw-r--r--xwayland/xwm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/xwayland/xwm.h b/xwayland/xwm.h
index ba1ed3c2..d3911ecd 100644
--- a/xwayland/xwm.h
+++ b/xwayland/xwm.h
@@ -61,8 +61,11 @@ struct wlr_xwm {
struct wl_listener compositor_surface_create;
};
+struct wlr_xwm *xwm_create(struct wlr_xwayland *wlr_xwayland);
+
void xwm_destroy(struct wlr_xwm *xwm);
-struct wlr_xwm *xwm_create(struct wlr_xwayland *wlr_xwayland);
+void xwm_set_cursor(struct wlr_xwm *xwm, const uint8_t *pixels, uint32_t stride,
+ uint32_t width, uint32_t height, int32_t hotspot_x, int32_t hotspot_y);
#endif