diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2022-04-20 14:49:25 +0300 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-04-22 17:51:24 +0000 |
commit | a43d105a507810a5562f8286d2a642e672dd1dca (patch) | |
tree | 4c5a32605e474170600bce6292e2c1decd9a6b3d | |
parent | 2ce0305483b7ca28d2ef27c7c3fd9f3282875ede (diff) |
backend/wayland/pointer: fix indentation
-rw-r--r-- | backend/wayland/pointer.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/backend/wayland/pointer.c b/backend/wayland/pointer.c index b2ed2ae7..0dc5efa9 100644 --- a/backend/wayland/pointer.c +++ b/backend/wayland/pointer.c @@ -401,14 +401,14 @@ const struct wlr_pointer_impl wl_pointer_impl = { }; static void destroy_pointer(struct wlr_wl_pointer *pointer) { - if (pointer->output->cursor.pointer == pointer) { - pointer->output->cursor.pointer = NULL; - } + if (pointer->output->cursor.pointer == pointer) { + pointer->output->cursor.pointer = NULL; + } - wlr_pointer_finish(&pointer->wlr_pointer); - wl_list_remove(&pointer->output_destroy.link); - wl_list_remove(&pointer->link); - free(pointer); + wlr_pointer_finish(&pointer->wlr_pointer); + wl_list_remove(&pointer->output_destroy.link); + wl_list_remove(&pointer->link); + free(pointer); } static void pointer_output_destroy(struct wl_listener *listener, void *data) { |