Skip to content
Commit 9b7402ec authored by Derek Foreman's avatar Derek Foreman
Browse files

input: Don't test uninitialized variables



weston_pointer_move() can change the pointer->focus, so we have to ensure
we're only testing old_sx and old_sy if we had a focus set before that
point.

Fixes 9b5a525a

Signed-off-by: default avatarDerek Foreman <derek.foreman@collabora.com>
parent bf0c99f5
Pipeline #734728 passed with stages
in 2 minutes and 32 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