[PATCH v2 2/2] shell: Add set_maximised for wl_shell_surface interface.
spitzak at gmail.com
Tue Jan 10 13:33:12 PST 2012
Is there an indicator sent to the client so that it knows it should not
draw the "edges" of the window border? (ie look at Windows95. When you
maximize a window, there are 2 pixels removed from the graphics all
around the edge of the window compared to the non-maximized window).
Removing these edges is also useful for tiling window management.
I think the configure event will have to send some bitflags indicating
what edges should be removed from the window, and a bitflag indicating
that the title should be removed (for fullscreen). It does not look like
this information is sent (the "edges" parameter which I thought was used
for this is actually something else indicating what edges are being
You cannot just use some "maximized" flag for this, as the window
manager may want edges removed in order to dock windows to the edges of
the screen or against each other.
More information about the wayland-devel