stage: Add state tracking
authorEmmanuele Bassi <ebassi@gnome.org>
Wed, 25 Jan 2012 21:24:47 +0000 (21:24 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 26 Jan 2012 08:30:47 +0000 (08:30 +0000)
commit19ff11ac933cbfcc1f87c5914d36a85ee014f8e9
tree371422e9a90066e2a228b6ba0b663d650661cbcc
parenta4d571aaf91541bf66b46949d1445a58d37f483d
stage: Add state tracking

State changes on the Stage are currently deferred to the windowing
system backends, but the code is generally the same, and it should
be abstracted neatly inside the Stage class itself.

There's also the extra caveat for backends that state changes on a
Stage must also emit a ClutterEvent of type CLUTTER_STAGE_STATE, a
requirement that needlessly complicates the backend code.
clutter/clutter-stage-private.h
clutter/clutter-stage.c