aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/interfaces
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 /include/wlr/interfaces
parentbcbf78ddaf1fc219b477faf3b9e5e410c62c1d0d (diff)
parent641d08ce7eba1464c535feb04513374cde22ed17 (diff)
Merge pull request #219 from versusvoid/cursor-bounds
Transform hotspot with cursor
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r--include/wlr/interfaces/wlr_output.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h
index 7ed19ed9..7d2821e0 100644
--- a/include/wlr/interfaces/wlr_output.h
+++ b/include/wlr/interfaces/wlr_output.h
@@ -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);