shell: Add fullscreen path into activate()
authorAlex Wu <zhiwen.wu@linux.intel.com>
Sun, 1 Apr 2012 12:13:08 +0000 (20:13 +0800)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 3 Apr 2012 02:15:40 +0000 (22:15 -0400)
commit2185843ced634a1fa398d252f322cc398038b2f9
tree5df051d4ba713a067a3cd3179486b2ba35a4653e
parent875ab9e73505cfe922c28bc72f716995f1191ad8
shell: Add fullscreen path into activate()

Use shell_stack_fullscreen() to raise fullscreen surface in activate(),
and before activate() a regular surface, move all the fullscreen
surfaces from fullscreen_layer to toplevel_layer.

Also add a void *private into struct wesont_surface since we already
have a configure() vfunc. That helps to get the associated fullscreen
surface of black surface.
src/compositor.h
src/shell.c