[PATCH 2/3] shell: Add implementation of fullscreen.

Bill Spitzak spitzak at gmail.com
Mon Feb 27 11:13:47 PST 2012

wuzhiwen wrote:

> I am thinking of the solution that we can specify in the protocol that if
> client choose to "scale" method, that means client will ignore the configure
> event.

That will not work, as the client still needs to redraw the surface 
without the window borders. It may not want the current image scaled at all.

The compositor has to wait for an attach as that is the only indication 
that it has the actual graphics that should be full-screened.

Clients should be allowed to attach the same buffer as was already 
attached, if they really know they don't have to redraw (though I think 
that is going to be pretty rare).

More information about the wayland-devel mailing list