diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-05 20:22:25 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-05 20:22:25 -0400 |
commit | 758acbc65fe52f8ac364e61c5d2d2b73083b1fe6 (patch) | |
tree | b2842dc2b8b098fe4c7516b561328810738c5a3f /xlib.h | |
parent | a4b7c2d96c12be570c1ce0e3af5ee2a9f3bf2d7e (diff) | |
download | runes-758acbc65fe52f8ac364e61c5d2d2b73083b1fe6.tar.gz runes-758acbc65fe52f8ac364e61c5d2d2b73083b1fe6.zip |
use libuv to process events
Diffstat (limited to 'xlib.h')
-rw-r--r-- | xlib.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -3,17 +3,16 @@ #include <X11/Xlib.h> -typedef struct { +struct runes_window { Display *dpy; Window w; GC gc; XIC ic; -} RunesWindow; +}; RunesWindow *runes_window_create(); cairo_surface_t *runes_surface_create(RunesWindow *w); -void runes_window_prepare_input(RunesWindow *w); -void runes_window_read_key(RunesWindow *w, char **buf, size_t *len); +void runes_loop_init(RunesTerm *t, uv_loop_t *loop); void runes_window_destroy(RunesWindow *w); #endif |