Skip to content
Commit a1191bea authored by John Brooks's avatar John Brooks 💬 Committed by Vlad Zahorodnii
Browse files

wayland: Fix missing relative motion events

Use isNull on QSizeF to check for a zero delta instead of comparing it
with a default-constructed QSizeF, which in practice initializes to
(-1.0,-1.0). This caused relative motion events to be omitted if the
delta happened to be equal to (-1.0,-1.0), causing mouse jumping in some
applications.

BUG: 444510



Signed-off-by: default avatarJohn Brooks <john@fastquake.com>
parent 84f54e9f
Pipeline #255187 failed with stage
in 20 minutes and 48 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