diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-09-19 05:09:50 -0400 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-10-02 06:08:10 +0000 |
commit | 7ef2c0a506046b029ab105eb7b2b190fe175228a (patch) | |
tree | 80cfda257d358e8895d0ae2365e18e8bb9a42af5 | |
parent | 00dcc68e16bce6d581355eac4156d89422c3ff64 (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.c | 4 |
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 { |