xglcomp

diff src/cwin.cc @ 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.cc	Fri Jan 22 06:31:03 2016 +0200
     1.2 +++ b/src/cwin.cc	Fri Jan 22 07:46:47 2016 +0200
     1.3 @@ -1,3 +1,4 @@
     1.4 +#include <string.h>
     1.5  #include <vector>
     1.6  #include <algorithm>
     1.7  #include "cwin.h"
     1.8 @@ -9,6 +10,8 @@
     1.9  {
    1.10  	xwin = xid;
    1.11  	xpixmap = 0;
    1.12 +	memset(&attr, 0, sizeof attr);
    1.13 +	mapped = false;
    1.14  }
    1.15  
    1.16  void add_window(CompWindow *cwin)