aboutsummaryrefslogtreecommitdiff
path: root/rootston/output.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-06 09:34:41 -0400
committerGitHub <noreply@github.com>2017-10-06 09:34:41 -0400
commitd1c26059d2c901d5b53f6d5738c2e9708144bad3 (patch)
tree0d5db76aa24876dd8549236150a94e3946cc258b /rootston/output.c
parentbcbf78ddaf1fc219b477faf3b9e5e410c62c1d0d (diff)
parent641d08ce7eba1464c535feb04513374cde22ed17 (diff)
Merge pull request #219 from versusvoid/cursor-bounds
Transform hotspot with cursor
Diffstat (limited to 'rootston/output.c')
-rw-r--r--rootston/output.c3
1 files changed, 2 insertions, 1 deletions
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;
}