[PATCH weston 1/2] libinput: Ignore non seat wide pointer button events

Carlos Garnacho carlosg at gnome.org
Thu Jan 29 03:09:24 PST 2015


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.

Cheers,
  Carlos



More information about the wayland-devel mailing list