aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-09-19 05:09:50 -0400
committerAlexander Orzechowski <alex@ozal.ski>2023-10-02 06:08:10 +0000
commit7ef2c0a506046b029ab105eb7b2b190fe175228a (patch)
tree80cfda257d358e8895d0ae2365e18e8bb9a42af5
parent00dcc68e16bce6d581355eac4156d89422c3ff64 (diff)
cursor: Remove dead code
This conditional would never fire because `cursor_output_cursor_reset_image` nulls the previous xcursor.
-rw-r--r--types/wlr_cursor.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/types/wlr_cursor.c b/types/wlr_cursor.c
index 8c995c22..108d95dc 100644
--- a/types/wlr_cursor.c
+++ b/types/wlr_cursor.c
@@ -555,10 +555,6 @@ static void cursor_output_cursor_update(struct wlr_cursor_output_cursor *output_
return;
}
- if (output_cursor->xcursor == xcursor) {
- return;
- }
-
output_cursor->xcursor = xcursor;
output_cursor_set_xcursor_image(output_cursor, 0);
} else {