aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-11-02 10:18:31 -0400
committerGitHub <noreply@github.com>2017-11-02 10:18:31 -0400
commit2d4e02969dd5ec208bbd36adab0ae1e6fc028638 (patch)
tree2d49c933db8c67b997e62be2ecc9a31ee827e1ee /include/wlr
parent63a46c6550cd43c528148391a8cbe20112361166 (diff)
parentb46d2a8b33a798b42deee2a822dac004364e8337 (diff)
Merge pull request #381 from emersion/fix-disabled-cursors
Fix disabled cursors
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_output.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output.h b/include/wlr/types/wlr_output.h
index b5523100..e6323f9c 100644
--- a/include/wlr/types/wlr_output.h
+++ b/include/wlr/types/wlr_output.h
@@ -15,10 +15,12 @@ struct wlr_output_mode {
struct wlr_output_cursor {
struct wlr_output *output;
int32_t x, y;
+ bool enabled;
uint32_t width, height;
int32_t hotspot_x, hotspot_y;
struct wl_list link;
+ // only when using a software cursor without a surface
struct wlr_renderer *renderer;
struct wlr_texture *texture;