xglcomp
view src/xerr.h @ 12:1c0d056ec360
moving slowly
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 05 Feb 2016 03:33:18 +0200 |
parents | |
children |
line source
1 #ifndef XERR_H_
2 #define XERR_H_
4 #include <X11/Xlib.h>
6 typedef int (*xerr_handler_type)(Display*, XErrorEvent*);
8 void push_xerr_handler(xerr_handler_type func);
9 void pop_xerr_handler();
11 int xerr_debug(Display *dpy, XErrorEvent *err);
12 int xerr_ignore(Display *dpy, XErrorEvent *err);
14 #endif /* XERR_H_ */