~compiz-team/compiz/compiz.fix_1030176

« back to all changes in this revision

Viewing changes to plugins/composite/src/privates.h

Don't allow unbinds of textures kept around for animations in any case, not
just resizing. (LP: #1016366)

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
    public WindowInterface,
121
121
    public CompositePixmapRebindInterface,
122
122
    public WindowPixmapGetInterface,
123
 
    public WindowAttributesGetInterface
 
123
    public WindowAttributesGetInterface,
 
124
    public PixmapFreezerInterface
124
125
{
125
126
    public:
126
127
        PrivateCompositeWindow (CompWindow *w, CompositeWindow *cw);
136
137
        void release ();
137
138
        void setNewPixmapReadyCallback (const boost::function <void ()> &);
138
139
        void allowFurtherRebindAttempts ();
 
140
        bool frozen ();
139
141
 
140
142
        static void handleDamageRect (CompositeWindow *w,
141
143
                                      int             x,
163
165
        XRectangle *damageRects;
164
166
        int        sizeDamage;
165
167
        int        nDamage;
 
168
 
166
169
    private:
167
170
 
168
171
        bool getAttributes (XWindowAttributes &);