aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-02 11:37:43 +0100
committeremersion <contact@emersion.fr>2017-11-02 11:37:43 +0100
commitd11973ed7d6881cbef879d505829b16be04b03f4 (patch)
treeb153e0c65248d56df37c4b24cd03135c2bd311f5 /include
parent63a46c6550cd43c528148391a8cbe20112361166 (diff)
Fix disabled cursors
Diffstat (limited to 'include')
-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;