diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-10-07 13:04:04 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2017-10-07 13:04:04 -0400 |
commit | 4f848000af6bdf57a6e861e69a53677f23133202 (patch) | |
tree | 341aca21d2cfd2b24021e83c4f85fa68b9f4618a /examples | |
parent | 4680943e749bfd441d31c988faa50f2b1ae043ad (diff) | |
parent | 321c26c2a3c77ddba52e1a6194669328e473fdb4 (diff) |
Merge branch 'master' into feature/xdg-popup
Diffstat (limited to 'examples')
-rw-r--r-- | examples/pointer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/pointer.c b/examples/pointer.c index 11f67f9b..238be9b3 100644 --- a/examples/pointer.c +++ b/examples/pointer.c @@ -112,7 +112,8 @@ static void handle_output_add(struct output_state *ostate) { // 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; } |