diff options
Diffstat (limited to 'swaybar/input.c')
-rw-r--r-- | swaybar/input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/swaybar/input.c b/swaybar/input.c index c0352300..f768cd40 100644 --- a/swaybar/input.c +++ b/swaybar/input.c | |||
@@ -438,6 +438,9 @@ void swaybar_seat_free(struct swaybar_seat *seat) { | |||
438 | if (seat->pointer.pointer != NULL) { | 438 | if (seat->pointer.pointer != NULL) { |
439 | wl_pointer_release(seat->pointer.pointer); | 439 | wl_pointer_release(seat->pointer.pointer); |
440 | } | 440 | } |
441 | if (seat->pointer.cursor_theme != NULL) { | ||
442 | wl_cursor_theme_destroy(seat->pointer.cursor_theme); | ||
443 | } | ||
441 | if (seat->pointer.cursor_surface != NULL) { | 444 | if (seat->pointer.cursor_surface != NULL) { |
442 | wl_surface_destroy(seat->pointer.cursor_surface); | 445 | wl_surface_destroy(seat->pointer.cursor_surface); |
443 | } | 446 | } |