About decorations in Unity

Damián Nohales damiannohales at gmail.com
Tue Mar 27 18:32:13 PDT 2012

El 27/03/12 19:24, Thiago Macieira escribió:
> 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.

But this behaviour is not shell dependent? for example, in KDE shell the
windows normally does not stop to print windows decoration when its are

How clients know when forego drawing decorations, don't they need some
compositor talk?

>> 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.
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel

More information about the wayland-devel mailing list