wl_shell_surface_resize semantics

Daniel Stone daniel at fooishbar.org
Wed Dec 7 03:33:39 PST 2011


(Bouncing back to the list ...)

Hi,

On 7 December 2011 11:29, Rob Bradford <rob at robster.org.uk> wrote:
> On 7 December 2011 11:16, Daniel Stone <daniel at fooishbar.org> wrote:
>> In this request, we'd need to send the provoking event, i.e. echo the
>> exact button press event we received back to the compositor as part of
>> this request.  In more pedestrian button-only setups, it solves issues
>> like the race where the button could be released before the client
>> asked the compositor to handle resizing, at which point you'd have a
>> grab you'd need to release by pressing the button and releasing it
>> again.  It's absolutely required for multitouch though, so the
>> compositor knows which touchpoint it needs to steal.
>
> So this means we need to enhance the protocol to:
>
> a.) Support cancellation in the button / key / motion events
> b.) Add the ability to pass event properties along with the resize
> request for the shell to generate the cancelling event.
>
> Have I missed anything?

I think perhaps an actual verbatim event rather than event properties, but yeah.

Cheers,
Daniel


More information about the wayland-devel mailing list