Add timestamp to pointer image attach request

This lets the server discard requests received after the pointer has
exited and the re-entered a surface.
This commit is contained in:
Kristian Høgsberg 2010-09-14 15:39:45 -04:00
parent 6dcf8718ae
commit ce457ba68c
7 changed files with 15 additions and 13 deletions

6
TODO
View file

@ -6,12 +6,6 @@ Core wayland protocol
another menu item), but we need events for the popup menu surface
as well.
- input_device.attach() should use a timestamp so the server can
discard late requests (sending a request to set the pointer image
in response to a motion event, the pointer leaves and then reenters
the surface, before the server receives the reqest -> the server
must discard it).
- The message format has to include information about number of fds
in the message so we can skip a message correctly. Or we should
just give up on trying to recover from unknown messages.