[PATCH weston] smoke: Don't commit an xdg_surface with a NULL buffer

Bill Spitzak spitzak at gmail.com
Thu Oct 16 20:22:34 PDT 2014

On 10/16/2014 08:03 PM, Jasper St. Pierre wrote:

> Are there any use cases for hiding a window while keeping it in the same
> place? We couldn't think of any on IRC.

There may be a desire to do that with child windows. If a client has a 
button that turns a child window on/off, and the user moves the child, 
then toggles the button on/off it probably should reappear where it was.

But I think it is ok if the user moves the parent window while the 
children are hidden, the children reappear moved the same amount.

I think currently the client can control where the child first appears, 
and could make it reappear in the same location (relative to the parent 
window) but not where the user moved it. But the fix would probably be 
to add an event so the client knows where the window was moved relative 
to the parent.

More information about the wayland-devel mailing list