xwayland: Handle race between multi-pointer motion and clicks
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 30 Apr 2014 23:52:30 +0000 (16:52 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 30 Apr 2014 23:52:30 +0000 (16:52 -0700)
commit8c3c738718adf99d777cfdf37308806c231447ca
tree3fe55e827e4d2e7385b6ffdb1a5a4c35e5410c4a
parente5c1ae9368821379e0028cd8dc0fa7e039f84c21
xwayland: Handle race between multi-pointer motion and clicks

Make sure we're looking at the right location.  The frame could have
received a motion event from a pointer from a different wl_seat, but
under X it looks like our core pointer moved.  Move the frame pointer
to the button press location before deciding what to do.
xwayland/window-manager.c