About decorations in Unity
spitzak at gmail.com
Tue Mar 27 16:58:36 PDT 2012
The maximized client should draw the entire top menubar as part of it's
window, which extends all the way to the top of the screen.
The compositor may place some extra items (widgets and status
indicators) atop the window. They will appear correct if the client does
draw a menubar of the correct color in this area. There may need to be
some communication between compositor and client so the client knows
what area is obscured.
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
> How developers would implement this behaviour through Wayland compositor
> and clients?
> 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.
> Or perhaps dealing with client surfaces and shell surfaces overlapping.
> Have you thought about this? What is your suggestion?
> Best regards!
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
More information about the wayland-devel