Re: [PATCH] Wayland: Add wl_pointer.buttons_update()

2013-06-10 Thread Bill Spitzak
Are you really saying the event is "these are the buttons that have changed state since you last got an event?". That seems a nightmare for the compositor to keep track of (it has to remember the last button state for every client). If instead this is just a report of the current state, then t

[PATCH] Wayland: Add wl_pointer.buttons_update()

2013-06-10 Thread Martin Minarik
Extend the wl_pointer protocol, to enable: * Hot plugging/unplugging an input device with already held keys. * Handling an input lag gracefully. * Provide a way to deliver the state of all buttons when focusing a surface. --- protocol/wayland.xml | 34 +- 1 file c