aboutsummaryrefslogtreecommitdiff
path: root/rootston/output.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-10-27 13:42:53 -0400
committerGitHub <noreply@github.com>2017-10-27 13:42:53 -0400
commit9f1ed70b81adc0680ba796a5545709036bc54408 (patch)
treeda33a734e90c78467ed838506f86d392305d6500 /rootston/output.c
parent0572abbb252edfc27232c08893b7440561ca171d (diff)
parentec5beeb8b8eec615f74f640f84e8fa8e451ba3bb (diff)
Merge pull request #344 from emersion/compositor-action-cursors
Set compositor cursor for move, resize and rotate
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 89e1475b..5fcd02a2 100644
--- a/rootston/output.c
+++ b/rootston/output.c
@@ -200,7 +200,8 @@ void output_add_notify(struct wl_listener *listener, void *data) {
cursor_load_config(config, input->cursor, input, desktop);
- struct wlr_xcursor_image *image = input->xcursor->images[0];
+ struct wlr_xcursor *xcursor = get_default_xcursor(input->xcursor_theme);
+ struct wlr_xcursor_image *image = xcursor->images[0];
// 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,