On 25 February 2013 20:12, Bill Spitzak <[email protected]> wrote: > I think you are right, that removes the race condition where the pointer > exits before the client sends the lock. If the client wants to lock when > the user hits a button always, it can just release on the leave event. > > I suppose there still is a race if the user hits the lock-cursor button > and then moves the mouse out so fast that it exits before the client sends > the lock request. But this is a lot harder to hit that the quick enter+exit > one.
That's like the sole entire reason we have serial numbers in the protocol. There's similar checks for a great deal of requests which would otherwise race with focus changes.
_______________________________________________ wayland-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/wayland-devel
