mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-25 01:40:19 -05:00
Merge branch 'releases/1.5' into master
This commit is contained in:
commit
8b06a55cb0
4 changed files with 20 additions and 9 deletions
16
input.c
16
input.c
|
|
@ -1625,13 +1625,15 @@ wl_pointer_button(void *data, struct wl_pointer *wl_pointer,
|
|||
}
|
||||
}
|
||||
|
||||
if (!term_mouse_grabbed(term, seat) &&
|
||||
cursor_is_on_grid)
|
||||
{
|
||||
term_mouse_down(
|
||||
term, button, seat->mouse.row, seat->mouse.col,
|
||||
seat->kbd.shift, seat->kbd.alt, seat->kbd.ctrl);
|
||||
}
|
||||
}
|
||||
|
||||
if (!seat->mouse.consumed &&
|
||||
!term_mouse_grabbed(term, seat) &&
|
||||
cursor_is_on_grid)
|
||||
{
|
||||
term_mouse_down(
|
||||
term, button, seat->mouse.row, seat->mouse.col,
|
||||
seat->kbd.shift, seat->kbd.alt, seat->kbd.ctrl);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue