Proposal to add 'raise' and 'lower' to xdg-shell in wayland-protocols

Olivier Fourdan ofourdan at redhat.com
Thu Dec 1 07:52:30 UTC 2016


Hi,

----- Original Message -----
> On Wed, Nov 30, 2016 at 12:17 PM, Bill Spitzak < spitzak at gmail.com > wrote:
> > 
> > My preferred solution to this:
> > 
> > Click in the titlebar should be sent back from the client to the
> > compositor as a wl_shell_surface::move (or ::resize) request. The
> > compositor can then realize the middle mouse button was pressed and
> > implement lower.
> 
> Wow, that's clever. If that works, I'd also like to move the double-click on
> titlebar to the same mechanism too (because you can bind 'lower' to that as
> well). Does that make sense?

That really sounds like a hack, and misuse of documented xdg-shell protocol, because neither raise or lower are actually move or resize.

Cheers,
Olivier


More information about the wayland-devel mailing list