xglcomp

diff src/main.cc @ 11:cb636a23f4f2

lifted X error reporting from Xlib
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 04 Feb 2016 04:15:15 +0200
parents 245dd960f0b3
children 1c0d056ec360
line diff
     1.1 --- a/src/main.cc	Wed Feb 03 03:55:52 2016 +0200
     1.2 +++ b/src/main.cc	Thu Feb 04 04:15:15 2016 +0200
     1.3 @@ -237,6 +237,8 @@
     1.4  	push_xerr_handler(xerr_debug);
     1.5  	XDamageSubtract(dpy, cwin->damage, None, region);
     1.6  	pop_xerr_handler();
     1.7 +
     1.8 +	XFixesDestroyRegion(dpy, region);
     1.9  }
    1.10  
    1.11  static void redraw()