Thoughts about decoration information in the xdg_shell

Bill Spitzak spitzak at
Mon Nov 18 10:31:15 PST 2013

Again this is excessively complicated.

The compositor in current weston can already tell the client to not draw 
decorations. This indicator is combined with the "fullscreen" indicator 
but the communication is already going this way.

So here is even simpler:

- All clients MUST be able to draw decorations

- The compositor, as part of configure events, can tell the client to 
not draw decorations.

I think a lot of confusion is because of talk about SSD. This is a 
reason for the compositor to tell the client to not draw decorations, 
but not the only one. On modern systems the main reason is to support 
fullscreen and maximized, both of which do not require SSD.

Thiago Macieira wrote:
> On segunda-feira, 18 de novembro de 2013 06:37:47, Martin Gräßlin wrote:
>> That sounds look a good solution to me!
> Make it simpler: all clients MUST be able to draw decorations. That's what 
> Wayland up until now requires anyway.
> A client MAY ask the compositor to draw decorations.
> If the compositor does not reply to the extension, the application MUST 
> decorate itself.
> If the application does not request it, the compositor MUST NOT decorate the 
> windows -- it must assume the client is doing it properly. I'm guessing that 
> most toolkits will not request it and will not provide a way for applications 
> to do it either.

More information about the wayland-devel mailing list