mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-06 04:06:06 -05:00
input: cancel search on mouse button events
This commit is contained in:
parent
43fc297fbd
commit
3f767be500
1 changed files with 2 additions and 0 deletions
2
input.c
2
input.c
|
|
@ -448,6 +448,8 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
|
|||
|
||||
struct terminal *term = data;
|
||||
|
||||
search_cancel(term);
|
||||
|
||||
switch (state) {
|
||||
case WL_POINTER_BUTTON_STATE_PRESSED: {
|
||||
/* Time since last click */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue