aboutsummaryrefslogtreecommitdiff
path: root/rootston
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-08 23:11:59 +0200
committeremersion <contact@emersion.fr>2017-10-08 23:11:59 +0200
commit8a77d1b6a2b28b90c8bb5ef079077aec1a44407c (patch)
tree50668edf938f3962a7e5a6a69191f80859664377 /rootston
parent17354b630a17f32a15b4b3f3710a8dc644e099d7 (diff)
Listen to cursor surface commit & destroy events
Diffstat (limited to 'rootston')
-rw-r--r--rootston/cursor.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c
index f9372f7f..97f9ca83 100644
--- a/rootston/cursor.c
+++ b/rootston/cursor.c
@@ -288,11 +288,8 @@ static void handle_request_set_cursor(struct wl_listener *listener,
struct roots_output *output;
wl_list_for_each(output, &input->server->desktop->outputs, link) {
- if (!wlr_output_set_cursor_surface(output->wlr_output,
- event->surface, event->hotspot_x, event->hotspot_y)) {
- wlr_log(L_DEBUG, "Failed to set hardware cursor");
- return;
- }
+ wlr_output_set_cursor_surface(output->wlr_output, event->surface,
+ event->hotspot_x, event->hotspot_y);
}
}