mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-27 06:59:46 -05: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…
Add table
Add a link
Reference in a new issue