From 641d08ce7eba1464c535feb04513374cde22ed17 Mon Sep 17 00:00:00 2001 From: Versus Void Date: Fri, 6 Oct 2017 09:07:08 +0300 Subject: Transform hotspot with cursor Fix #188 --- rootston/output.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rootston') diff --git a/rootston/output.c b/rootston/output.c index d7aade3d..c6627182 100644 --- a/rootston/output.c +++ b/rootston/output.c @@ -145,7 +145,8 @@ void output_add_notify(struct wl_listener *listener, void *data) { // TODO the cursor must be set depending on which surface it is displayed // over which should happen in the compositor. if (!wlr_output_set_cursor(wlr_output, image->buffer, - image->width, image->width, image->height)) { + image->width, image->width, image->height, + image->hotspot_x, image->hotspot_y)) { wlr_log(L_DEBUG, "Failed to set hardware cursor"); return; } -- cgit v1.2.3