On 01/29/2015 03:09 AM, Carlos Garnacho wrote:
On mié, 2015-01-28 at 13:09 -0800, Bill Spitzak wrote:
I would greatly prefer to get an event when this happens. The user
expects something to happen when they push a button. You cannot just
throw it away.

I think it is perfectly safe to send multiple press and release events.
No program is going to fail because of this.

As a toolkit guy, this is a "no-no". Things like implicit grab tracking
rely on some coherence from the windowing system, and many button
handlers highly count on just receiving 1 event pair per button. unless
toolkits have per-button counters and keep track of this themselves
(they don't), multiple presses & releases on the same button is going to
confuse toolkits and apps big time.

Sorry I disagree. Most toolkits will just treat the first press as the press and the first release as the release and ignore the others. No counter is needed.
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to