mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-08 10:06:22 -05:00
input: make sure ‘surf_kind’ is not uninitialized
This commit is contained in:
parent
9f321e6030
commit
602dbdb9f6
1 changed files with 1 additions and 1 deletions
2
input.c
2
input.c
|
|
@ -1516,7 +1516,7 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
|
|||
|
||||
assert(term != NULL);
|
||||
|
||||
enum term_surface surf_kind;
|
||||
enum term_surface surf_kind = TERM_SURF_NONE;
|
||||
bool send_to_client = false;
|
||||
|
||||
if (state == WL_POINTER_BUTTON_STATE_PRESSED) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue