mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 15:12:26 +00:00
output: remove noop backend check in wlr_output_cursor_set_image
The noop backend doesn't exist anymore.
This commit is contained in:
parent
71f8a48d38
commit
e3e2a34cd8
@ -377,9 +377,7 @@ bool wlr_output_cursor_set_image(struct wlr_output_cursor *cursor,
|
||||
int32_t hotspot_x, int32_t hotspot_y) {
|
||||
struct wlr_renderer *renderer = cursor->output->renderer;
|
||||
if (!renderer) {
|
||||
// if the backend has no renderer, we can't draw a cursor, but this is
|
||||
// actually okay, for ex. with the noop backend
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
output_cursor_reset(cursor);
|
||||
|
Loading…
Reference in New Issue
Block a user