Transform hotspot with cursor

Fix #188
This commit is contained in:
Versus Void 2017-10-06 09:07:08 +03:00
parent b2d478a418
commit 641d08ce7e
10 changed files with 65 additions and 29 deletions

View file

@ -10,7 +10,8 @@ struct wlr_output_impl {
void (*transform)(struct wlr_output *output,
enum wl_output_transform transform);
bool (*set_cursor)(struct wlr_output *output, const uint8_t *buf,
int32_t stride, uint32_t width, uint32_t height);
int32_t stride, uint32_t width, uint32_t height,
int32_t hotspot_x, int32_t hotspot_y);
bool (*move_cursor)(struct wlr_output *output, int x, int y);
void (*destroy)(struct wlr_output *output);
void (*make_current)(struct wlr_output *output);