diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-11-02 23:34:02 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-11-02 23:34:02 -0400 |
commit | 86b87299986a430a52b4eac3f2e0e7b659176c90 (patch) | |
tree | ac8523d64c6b2faa8d7156093c8dc8f6998301b7 /include/wlr/xwayland.h | |
parent | 975b9dc365d5a7bec531522320a1506323575525 (diff) | |
parent | ec11a95d0c945d138cede66b7c6e53e343c82f8f (diff) |
Merge remote-tracking branch 'origin/master' into hidpi
Diffstat (limited to 'include/wlr/xwayland.h')
-rw-r--r-- | include/wlr/xwayland.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/wlr/xwayland.h b/include/wlr/xwayland.h index 2d968133..bea97394 100644 --- a/include/wlr/xwayland.h +++ b/include/wlr/xwayland.h @@ -12,6 +12,7 @@ #endif struct wlr_xwm; +struct wlr_xwayland_cursor; struct wlr_xwayland { pid_t pid; @@ -25,6 +26,7 @@ struct wlr_xwayland { struct wl_event_source *sigusr1_source; struct wl_listener destroy_listener; struct wlr_xwm *xwm; + struct wlr_xwayland_cursor *cursor; struct { struct wl_signal new_surface; @@ -148,6 +150,10 @@ struct wlr_xwayland *wlr_xwayland_create(struct wl_display *wl_display, void wlr_xwayland_destroy(struct wlr_xwayland *wlr_xwayland); +void wlr_xwayland_set_cursor(struct wlr_xwayland *wlr_xwayland, + uint8_t *pixels, uint32_t stride, uint32_t width, uint32_t height, + int32_t hotspot_x, int32_t hotspot_y); + void wlr_xwayland_surface_activate(struct wlr_xwayland *wlr_xwayland, struct wlr_xwayland_surface *surface, bool activated); |