]> git.mdlowis.com Git - proto/labwc.git/commit
input: always use mouse emulation for tablet tool mouse
authorJens Peters <jp7677@gmail.com>
Fri, 6 Jun 2025 05:14:21 +0000 (07:14 +0200)
committerHiroaki Yamamoto <hrak1529@gmail.com>
Sat, 7 Jun 2025 20:31:23 +0000 (05:31 +0900)
commit8584e073de23d81d895eeb7e673f6f24e5375f5b
tree01987ffa2b1a7d1bc5595e318e78021243f208d4
parentcf032b1fc19966c791748e1d7d47362f8881dc65
input: always use mouse emulation for tablet tool mouse

Using mouse emulation for a tablet tool mouse is just a practical
decision to let such a tool work more smootly, e.g. it avoids weird
menu issues in GTK applications. Since such a tool doesn't have
pen specifix axis like pressure or distance, no functionality is lost.

A solution fully in line with the protocol, which would pass the tool
mouse buttons to the client, would leave us with  e.g. non-working
buttons in current GTK4 since they don't handle the buttons
reported from the tool mouse.
May be this changes in future. But for now, let's just be practical.
src/input/tablet.c