Use compositor theme for xwm cursor

This commit is contained in:
emersion 2017-11-02 16:49:22 +01:00
parent ddd7b7711c
commit 3f4ad47421
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 62 additions and 12 deletions

View file

@ -61,8 +61,11 @@ struct wlr_xwm {
struct wl_listener compositor_surface_create;
};
void xwm_destroy(struct wlr_xwm *xwm);
struct wlr_xwm *xwm_create(struct wlr_xwayland *wlr_xwayland);
void xwm_destroy(struct wlr_xwm *xwm);
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