xglcomp
annotate src/xerr.h @ 15:6726f29ebbb8
update backing texture on damage
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 08 Feb 2016 19:42:54 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@9 | 1 #ifndef XERR_H_ |
nuclear@9 | 2 #define XERR_H_ |
nuclear@9 | 3 |
nuclear@9 | 4 #include <X11/Xlib.h> |
nuclear@9 | 5 |
nuclear@9 | 6 typedef int (*xerr_handler_type)(Display*, XErrorEvent*); |
nuclear@9 | 7 |
nuclear@9 | 8 void push_xerr_handler(xerr_handler_type func); |
nuclear@9 | 9 void pop_xerr_handler(); |
nuclear@9 | 10 |
nuclear@9 | 11 int xerr_debug(Display *dpy, XErrorEvent *err); |
nuclear@9 | 12 int xerr_ignore(Display *dpy, XErrorEvent *err); |
nuclear@9 | 13 |
nuclear@9 | 14 #endif /* XERR_H_ */ |