]> git.mdlowis.com Git - proto/labwc.git/commit
input: use mouse emulation for touch when labwc menu is open
authorJens Peters <jp7677@gmail.com>
Fri, 13 Jun 2025 12:59:02 +0000 (14:59 +0200)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 14 Jun 2025 13:07:35 +0000 (14:07 +0100)
commit31dd21de5b73f3d8598447e78f5af89922ac431c
tree20f7058eb9b8a2adb5d4d331506cc20aeeb320c1
parentbdd1b8dc60ced4f2a36154c2dd993eab28817927
input: use mouse emulation for touch when labwc menu is open

Only use the touch protocol when no labwc menu is open.
This ensure that labwc menus will be closed on first touch
down/up since cursor emulation takes care of closing a
menu.
This prevents that a labwc menu stay open during touch
interactions in native touch mode.
src/input/touch.c