[x11] Rework map/unmap and resizing
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 4 Jun 2009 15:27:21 +0000 (16:27 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 4 Jun 2009 15:30:32 +0000 (16:30 +0100)
commite4ff24bcff4881ddadaf3bb52d74ee71061504fc
tree8b95b348ce90087295546ea2c1f48636e117fab0
parent0a4a28a950ae5022684742d18144c1cb9b6a96d1
[x11] Rework map/unmap and resizing

The mapping and unmapping of the X11 stage implementation is
a bit bong. It's asynchronous, for starters, when it really
can avoid it by tracking the state internally.

The ordering of the map/unmap sequence is also broken with
respect to the resizing.

By tracking the state internally into StageX11 we can safely
remove the MapNotify and UnmapNotify X event handling.

In theory, we should use _NET_WM_STATE a lot more, and reuse
the X11 state flags for fullscreening as well.
clutter/clutter-actor.c
clutter/clutter-stage-window.h
clutter/clutter-stage.c
clutter/glx/clutter-stage-glx.c
clutter/x11/clutter-event-x11.c
clutter/x11/clutter-stage-x11.c
clutter/x11/clutter-stage-x11.h