aboutsummaryrefslogtreecommitdiffstats
path: root/xlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlib.h')
-rw-r--r--xlib.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/xlib.h b/xlib.h
index e2fcf70..809645e 100644
--- a/xlib.h
+++ b/xlib.h
@@ -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