diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2015-11-22 02:58:41 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2015-11-22 02:58:41 -0300 |
commit | 5da38341bc54f24c8cad41f1b63405d8cc955fe7 (patch) | |
tree | debe4dda2dd02cc23ed64b54df768a0f584938d2 /src/safe_x11/safex11.h | |
parent | a21473f60c6cfad6335db3b0b45cdff23f8b3a89 (diff) | |
download | dotwm-5da38341bc54f24c8cad41f1b63405d8cc955fe7.tar.gz |
next_xevent don't block anymore!
Now the next_xevent (from the safex11) will not block forever. So we
can listen the socket without doing some thread stuff.
Diffstat (limited to 'src/safe_x11/safex11.h')
-rw-r--r-- | src/safe_x11/safex11.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/safe_x11/safex11.h b/src/safe_x11/safex11.h new file mode 100644 index 0000000..bbf4e80 --- /dev/null +++ b/src/safe_x11/safex11.h @@ -0,0 +1,7 @@ +#ifndef _WM_EVENT_H_ +#define _WM_EVENT_H_ +#include <X11/Xlib.h> + +int select_next_event(Display *display, int x11_fd, XEvent *retval); + +#endif |