mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-08 22:45:58 +01: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
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue