xglcomp

diff src/cwin.h @ 3:e831d38e6faa

textures
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 22 Jan 2016 07:46:47 +0200
parents 876efea9424c
children 03ca0fd49916
line diff
     1.1 --- a/src/cwin.h	Fri Jan 22 06:31:03 2016 +0200
     1.2 +++ b/src/cwin.h	Fri Jan 22 07:46:47 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 "texture.h"
     1.8  
     1.9  class CompWindow {
    1.10  public:
    1.11 @@ -9,6 +10,9 @@
    1.12  	Pixmap xpixmap;
    1.13  
    1.14  	XWindowAttributes attr;
    1.15 +	bool mapped;
    1.16 +
    1.17 +	Texture tex;
    1.18  
    1.19  	CompWindow(Window xid = 0);
    1.20  };