mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
cursor: Remove dead code
This conditional would never fire because `cursor_output_cursor_reset_image` nulls the previous xcursor.
This commit is contained in:
parent
00dcc68e16
commit
7ef2c0a506
1 changed files with 0 additions and 4 deletions
|
@ -555,10 +555,6 @@ static void cursor_output_cursor_update(struct wlr_cursor_output_cursor *output_
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (output_cursor->xcursor == xcursor) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
output_cursor->xcursor = xcursor;
|
output_cursor->xcursor = xcursor;
|
||||||
output_cursor_set_xcursor_image(output_cursor, 0);
|
output_cursor_set_xcursor_image(output_cursor, 0);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue