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.

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to