Skip to content
Commit e0b289a6 authored by David Redondo's avatar David Redondo 🏎
Browse files

Fix button to Qt::MouseButton mapping

Even though the names seem to match, QtWayland maps button values
to enum values in ascendung order (as it does on X11). The wrong
mapping is usually not a problem because we send the native button
events to clients. However when the Qt names or values are used
for communication between KWin and a client this leads to
misunderstandings.
BUG:465463
FIXED-IN:5.27.1


(cherry picked from commit cc4d99ae)
parent 006df84b
Pipeline #328248 passed with stage
in 9 minutes and 49 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment