[PATCH] compositor: fix release button notification
Pekka Paalanen
ppaalanen at gmail.com
Thu Dec 8 01:58:45 PST 2011
On Wed, 7 Dec 2011 15:56:23 +0000
Rob Bradford <rob at robster.org.uk> wrote:
> On 7 December 2011 14:32, Tiago Vignatti <vignatti at freedesktop.org>
> wrote:
> > From: Tiago Vignatti <tiago.vignatti at intel.com>
> >
> > Previously the client could set another grab via
> > wl_input_device_update_grab, which would lead the compositor not
> > delivering some button events. Now, independently the semantics the
> > client defines, the compositor will send anyway a button event to
> > the client, fixing the apparent issue.
> >
>
> This change also has the side-effect of changing the semantics in a
> non-resize case: button inside surface move outside it and then
> release.
>
> With this change you don't get a button up when the pointer has moved
> outside the surface - something the implicit grab was trying to
> achieve.
>
> Just the addition in this patch (not the removal) does give me
> behaviour that maps to what GTK expects.
Just recapping what became the concensus in IRC, AFAIU:
It seems Rob made another patch that lets him continue his work.
The real solution to the problem will be something completely
different, and probably will be solved after the input rewrite lands,
since that likely changes things a lot.
- pq
More information about the wayland-devel
mailing list