mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-03-12 18:32:48 +01:00
fix missing initializations in previous commit
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
21045044ba
commit
50296daa46
2
main.c
2
main.c
@ -283,6 +283,7 @@ seat_handle_capabilities(void *data, struct wl_seat *wl_seat,
|
||||
} else {
|
||||
if (pointer != NULL) {
|
||||
wl_pointer_destroy(pointer);
|
||||
pointer = NULL;
|
||||
}
|
||||
}
|
||||
if ((caps & WL_SEAT_CAPABILITY_TOUCH)) {
|
||||
@ -293,6 +294,7 @@ seat_handle_capabilities(void *data, struct wl_seat *wl_seat,
|
||||
} else {
|
||||
if (touch != NULL) {
|
||||
wl_touch_destroy(touch);
|
||||
touch = NULL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user