Skip to content

input: Don't test uninitialized variables

Derek Foreman requested to merge derekf/weston:surface_jump into main

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: Derek Foreman derek.foreman@collabora.com

Merge request reports