About decorations in Unity
Thiago Macieira
thiago.macieira at intel.com
Tue Mar 27 15:24:13 PDT 2012
On terça-feira, 27 de março de 2012 19.16.34, Damián Nohales wrote:
> Hi there!
>
> I have a question, simply curiosity.
>
> I'm sure you noticed the behaviour of window decorations in case of
> Unity shell. I mean, when a window is maximized, the decorations begins
> to form part of the top panel, showing in a different way respect to the
> window.
>
> How developers would implement this behaviour through Wayland compositor
> and clients?
I guess the toolkits would simply forego drawing the decoration when it
detects that the window is maximised.
> Maybe a protocol that allow to compositor to tell clients to
> enable/disable decorations drawing, compositor should to use this
> protocol when a client surface is maximized/unmaximized and clients
> adapt the GUI in the best way depending on the case.
I don't think that's necessary. All the toolkits need to know is whether the
window is maximised or not.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120327/91c2ddc2/attachment-0001.pgp>
More information about the wayland-devel
mailing list