Owen W. Taylor 9244f0f113 Move window repair and reshape to a paint function
Add a paint function that checks all windows for repair and
shape updates; this:

 - simplifies the logic for when a window needs to be repaired
 - avoids duplicate work when we get multiple damage effects
 - avoids the need to look ahead in the event queue

Instead of relying on repair to implicitly resize the
MutterWindow actor, set the size explicitly when the core
code updates the geometry. (This is needed because we haven't
repaired yet when we start an animation, and the animation
may depend on the size to, e.g., rescale from the center.)

Because the core geometry update happens before we start
maximize/unmaximize effects we need to work around this by
passing both the old and new geometry to the compositor.

http://bugzilla.gnome.org/show_bug.cgi?id=587251
2009-07-06 00:04:41 +01:00
..
2009-06-16 14:17:10 -04:00
2009-06-16 14:17:10 -04:00
2009-06-16 14:17:10 -04:00
2009-06-16 14:17:10 -04:00
2009-06-16 14:17:10 -04:00
2009-06-16 14:17:10 -04:00
2009-06-16 14:17:10 -04:00
2009-06-16 14:17:10 -04:00
2009-06-16 14:17:10 -04:00
2009-06-16 14:17:10 -04:00