aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-xlib.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-06-05 07:15:32 -0400
committerJesse Luehrs <doy@tozt.net>2016-06-05 07:15:32 -0400
commit8ee1f14e9b839891d199a7e9337df2e8dfb90e98 (patch)
treec85dbede873ec703c6997dfc71b61ea936f99462 /src/window-xlib.h
parentd4fcc0627a164d0e5d903299c4dee012aadeac7d (diff)
downloadrunes-8ee1f14e9b839891d199a7e9337df2e8dfb90e98.tar.gz
runes-8ee1f14e9b839891d199a7e9337df2e8dfb90e98.zip
no reason to go through an event here
i was only doing this before because libuv was using threads, and so i needed a way to trigger redraws on the main thread. if there are other reasons that we might want to delay redraws (to avoid blocking the event loop, for instance), we should just do that by scheduling a 0-timeout timer or something.
Diffstat (limited to 'src/window-xlib.h')
-rw-r--r--src/window-xlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window-xlib.h b/src/window-xlib.h
index dbf15ad..46ed900 100644
--- a/src/window-xlib.h
+++ b/src/window-xlib.h
@@ -25,7 +25,7 @@ struct runes_window {
RunesWindow *runes_window_new(RunesWindowBackend *wb);
void runes_window_create_window(RunesTerm *t, int argc, char *argv[]);
void runes_window_init_loop(RunesTerm *t, RunesLoop *loop);
-void runes_window_request_flush(RunesTerm *t);
+void runes_window_flush(RunesTerm *t);
void runes_window_request_close(RunesTerm *t);
unsigned long runes_window_get_window_id(RunesTerm *t);
void runes_window_get_size(RunesTerm *t, int *xpixel, int *ypixel);