Restructure how we look for Read files slightly.
[fvwm.git] / libs / XError.h
blobe6e5c3653daee395aba36e0f75c0eb0601689b8d
1 #ifndef FERROR_H
2 #define FERROR_H
4 void do_coredump(void);
6 /* not really a wrapper, but useful and X related */
7 void PrintXErrorAndCoredump(Display *dpy, XErrorEvent *error, char *MyName);
9 typedef int (*ferror_handler_t)(Display *, XErrorEvent *);
10 void ferror_set_temp_error_handler(ferror_handler_t new_handler);
11 void ferror_reset_temp_error_handler(void);
12 int ferror_call_next_error_handler(Display *dpy, XErrorEvent *error);
14 #endif /* FERROR_H */