shell: Don't move or reconfigure surfaces until we get the new buffer
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 27 Apr 2012 21:20:01 +0000 (17:20 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 27 Apr 2012 21:49:40 +0000 (17:49 -0400)
commit7f366e7053877bb7d19bde25b034abe1056e2089
tree0a11663f0d676f9fc4bd5baf829f546f2ea47e99
parent407ef64e17d8dc10677afcd815321c7b8ecea8b3
shell: Don't move or reconfigure surfaces until we get the new buffer

Going from fullscreen to toplevel will restore the surface position
immediately.  This will move the fullscreen surface to where the toplevel
surface was before, which will flicker for a frame of two before the
resized, non-fullscreen buffer is attached.

Instead, only change the surface geometry when we get the new buffer.
src/shell.c