mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 02:19:49 +01:00
backend/wayland/pointer: fix indentation
This commit is contained in:
parent
2ce0305483
commit
a43d105a50
1 changed files with 7 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue