xglcomp

diff src/cwin.h @ 7:03ca0fd49916

merged
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 30 Jan 2016 07:48:51 +0200
parents e831d38e6faa
children 1c0d056ec360
line diff
     1.1 --- a/src/cwin.h	Fri Jan 29 10:23:08 2016 +0200
     1.2 +++ b/src/cwin.h	Sat Jan 30 07:48:51 2016 +0200
     1.3 @@ -2,6 +2,7 @@
     1.4  #define COMP_WIN_H_
     1.5  
     1.6  #include <X11/Xlib.h>
     1.7 +#include <X11/extensions/Xdamage.h>
     1.8  #include "texture.h"
     1.9  
    1.10  class CompWindow {
    1.11 @@ -12,9 +13,13 @@
    1.12  	XWindowAttributes attr;
    1.13  	bool mapped;
    1.14  
    1.15 +	Damage damage;
    1.16 +	XRectangle damage_rect;
    1.17 +
    1.18  	Texture tex;
    1.19  
    1.20  	CompWindow(Window xid = 0);
    1.21 +	~CompWindow();
    1.22  };
    1.23  
    1.24  void add_window(CompWindow *cwin);