Remove mysterious hotspot switch in DRM backend

This commit is contained in:
emersion 2017-11-01 14:36:58 +01:00
parent 60c018c017
commit a15b35aa10
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
2 changed files with 28 additions and 33 deletions

View file

@ -294,7 +294,7 @@ void wlr_output_swap_buffers(struct wlr_output *output) {
struct wlr_output_cursor *cursor;
wl_list_for_each(cursor, &output->cursors, link) {
if (output->hardware_cursor == cursor) {
//continue; // TODO
continue;
}
output_cursor_render(cursor);
}
@ -342,7 +342,7 @@ bool wlr_output_cursor_set_image(struct wlr_output_cursor *cursor,
stride, width, height, hotspot_x, hotspot_y, true);
if (ok) {
cursor->output->hardware_cursor = cursor;
//return true; // TODO
return true;
}
}