~lbrulet-8/compiz-plugins-main/fix-876591

« back to all changes in this revision

Viewing changes to animation/src/private.h

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2011-09-22 14:50:55 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: package-import@ubuntu.com-20110922145055-h3j0es7pbks2sg7r
Tags: 1:0.9.5.94+bzr20110919-0ubuntu1
* Cherry-pick rev 27:
  - "crash when looping paint list in preparePaint (on closing windows)
    (LP: #853807)
* Add debian/patches/01_fix_ghost_windows.patch:
  - fix ghost transient windows.

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
    Window mActiveWindow;
236
236
    CompMatch mNeverAnimateMatch;
237
237
 
 
238
    const CompWindowList *mLockedPaintList;
 
239
    unsigned int         mLockedPaintListCnt;
 
240
    unsigned int         mGetWindowPaintListEnableCnt;
 
241
 
238
242
    void updateEventEffects (AnimEvent e,
239
243
                             bool forRandom,
240
244
                             bool callPost = true);
263
267
    PrivateAnimScreen (CompScreen *s, AnimScreen *);
264
268
    ~PrivateAnimScreen ();
265
269
 
 
270
    // In order to prevent other plugins from modifying
 
271
    // the paint lists as we use it we need to lock the
 
272
    // list
 
273
 
 
274
    const CompWindowList & pushLockedPaintList ();
 
275
    void  popLockedPaintList ();
 
276
 
 
277
    void pushPaintList ();
 
278
    void popPaintList ();
 
279
 
266
280
    // Utility methods
267
281
    void initiateOpenAnim (PrivateAnimWindow *aw);
268
282
    void initiateCloseAnim (PrivateAnimWindow *aw);