On domingo, 17 de novembro de 2013 22:42:44, Alex Elsayed wrote:
> > 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.
> 
> ...there are cases where the decorations should not be shown at all. The
> netbook shell, for instance, handles decorations via a Plasma panel IIRC,
> and thus doesn't draw traditional decorations for fullscreen windows *at
> all*.
> 
> A client-initiated system like you describe CANNOT handle such a case.

Yes, it can. Applications that negotiate with the compositor will get a 
positive reply "yes, I'll decorate" from the compositor. The compositor may 
then choose to draw nothing, leaving the window undecorated. Like you said, in 
some environments, that's the correct action to take.

Applications that do not negotiate must figure out the proper decoration on 
their own. It's not the compositor's job to enforce the style. If the 
application then looks out of place, it's the application's fault, not the 
compositor's.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to