xglcomp

diff src/cwin.h @ 12:1c0d056ec360

moving slowly
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 05 Feb 2016 03:33:18 +0200
parents 03ca0fd49916
children
line diff
     1.1 --- a/src/cwin.h	Thu Feb 04 04:15:15 2016 +0200
     1.2 +++ b/src/cwin.h	Fri Feb 05 03:33:18 2016 +0200
     1.3 @@ -9,17 +9,24 @@
     1.4  public:
     1.5  	Window xwin;
     1.6  	Pixmap xpixmap;
     1.7 +	bool pixmap_valid;
     1.8  
     1.9  	XWindowAttributes attr;
    1.10  	bool mapped;
    1.11  
    1.12  	Damage damage;
    1.13  	XRectangle damage_rect;
    1.14 +	bool damaged;
    1.15  
    1.16  	Texture tex;
    1.17 +	bool tex_valid;
    1.18  
    1.19  	CompWindow(Window xid = 0);
    1.20  	~CompWindow();
    1.21 +
    1.22 +	bool update_attr();
    1.23 +	bool update_pixmap();
    1.24 +	bool update_texture();
    1.25  };
    1.26  
    1.27  void add_window(CompWindow *cwin);