cursor: Remove dead code

This conditional would never fire because `cursor_output_cursor_reset_image`
nulls the previous xcursor.
This commit is contained in:
Alexander Orzechowski 2023-09-19 05:09:50 -04:00
parent 00dcc68e16
commit 7ef2c0a506

View file

@ -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 {