wayland menu

Carsten Haitzler (The Rasterman) raster at rasterman.com
Wed Dec 12 11:24:05 UTC 2018


On Wed, 12 Dec 2018 11:14:48 +0000 Carsten Haitzler (The Rasterman)
<raster at rasterman.com> said:

> On Tue, 11 Dec 2018 21:12:29 +0100 David Craven <david at craven.ch> said:
> 
> There is already a dbus protocol for this canonical came up with for
> ubuntu/unity and it's got support in several toolkits already. Look into
> com.canonical.AppMenu.Registrar (google for it).
> 
> This is also already implemented by at least some wayland compositors.
> (enlightenment does - optional module to load for the feature). it works in
> X11 and wayland too.

actually let me correct this - it works with xwayland and x clients. it would
need some changes to deal with wayland clients (you';d need some kind of uuid
for wl surfaces to replace the windowid used for x11).

> > Hi,
> > 
> > This isn't a concrete proposal but I think it would be nice to have
> > support for compositors implementing a menu like interface that
> > wayland clients can use. What this menu is or how it is implemented is
> > up to the compositor. The client would register an action in a tree
> > like structure and be notified when it occurs. This would allow
> > implementing for example a mac osx style compositor where the main
> > application menu is rendered outside of the window and changes
> > depending on what window has focus, or provide a more vim like
> > multimode experience with unified keybindings. I think this would help
> > toolkits like qt provide a native look and feel on wayland and
> > compositors define what a native look and feel is.
> > 
> > Regards,
> > David
> > _______________________________________________
> > wayland-devel mailing list
> > wayland-devel at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/wayland-devel
> 
> 
> -- 
> ------------- Codito, ergo sum - "I code, therefore I am" --------------
> Carsten Haitzler - raster at rasterman.com
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/wayland-devel


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - raster at rasterman.com



More information about the wayland-devel mailing list