~smspillaz/compiz-animation-plugin/compiz-animation-plugion.fix_940603

« back to all changes in this revision

Viewing changes to src/zoomside.cpp

  • Committer: Sam Spilsbury
  • Date: 2011-03-14 15:35:30 UTC
  • Revision ID: git-v1:ffede0dc9878ca74ba5f9978c2c8ff53ff68ff2b
Don't try to delay the unreparent event and also use new core API

Show diffs side-by-side

added added

removed removed

Lines of Context:
405
405
 
406
406
        CompRect inRect (mAWindow->savedRectsValid () ?
407
407
                         mAWindow->savedInRect () :
408
 
                         mWindow->inputRect ());
 
408
                         mWindow->borderRect ());
409
409
 
410
410
        center.setX (inRect.x () + inRect.width () / 2.0);
411
411