Thoughts about decoration information in the xdg_shell

Martin Gräßlin mgraesslin at kde.org
Sun Nov 17 23:36:48 PST 2013


On Sunday 17 November 2013 22:27:29 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 and only if the
> compositor replies that it will, the client is then not required to draw
> them. The only compositor likely to even understand this extension is kwin:
> it will reply "sure, I'll decorate" for any apps that request it. If
> necessary, the request can include a suggestion level on how strongly the
> client wants the compositor to do the decoration.
> 
> If the compositor does not reply to the extension, the application MUST
> decorate itself (according to whatever rules are prevalent, including no
> decorations for a tablet or mobile environment, etc.).
> 
> 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.
Such a protocol would make runtime switching impossible, wouldn't it?

That's a really important use case for us to turn a tablet into a desktop and 
vice versa.

Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20131118/b5ec7c6a/attachment-0001.pgp>


More information about the wayland-devel mailing list