~compiz-team/compiz-animation-plugin/compiz-animation-plugin.fix_864476

Viewing all changes in revision 392.

  • Committer: Sam Spilsbury
  • Date: 2011-10-02 07:22:09 UTC
  • Revision ID: sam.spilsbury@canonical.com-20111002072209-zwkhd50yfd63bap0
Clean up animations and apply attributes to windows in donePaint rather than preparePaint.

Cleaning up animations in preparePaint allowed for a one-frame race condition to occurr
where we would not longer be painting the window in it's animated state yet still awaiting
a return to the next frame in order to change the attributes of the window. This meant that
for one frame, the window would be visible in it's pre-animation state if the screen
was being consistently, or if damage was applied outside the animated area. This was visible
with eg, the shade and unshade animations, where the decor plugin would paint the full size
of the decorations for one frame since the frame geometry hadn't been updated yet.

Fixes LP #864476

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: