aboutsummaryrefslogtreecommitdiffstats
path: root/src/runes.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-05-11 15:20:01 -0400
committerJesse Luehrs <doy@tozt.net>2016-05-11 15:20:01 -0400
commitb92788dee979855f753e030cb8be8d19c22d00df (patch)
tree1c8992c28e0b874dacf33bd912d6a372f1c5b243 /src/runes.c
parentb11900bb0594b5e04c4ad69237d0a61146f85d35 (diff)
downloadrunes-b92788dee979855f753e030cb8be8d19c22d00df.tar.gz
runes-b92788dee979855f753e030cb8be8d19c22d00df.zip
split global window management stuff out into its own file
also rename a few things for clarity
Diffstat (limited to 'src/runes.c')
-rw-r--r--src/runes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/runes.c b/src/runes.c
index 46aaf41..b59ab33 100644
--- a/src/runes.c
+++ b/src/runes.c
@@ -4,18 +4,18 @@
#include "loop.h"
#include "term.h"
-#include "window-xlib.h"
+#include "window-backend-xlib.h"
int main (int argc, char *argv[])
{
RunesLoop *loop;
- RunesWindowBackendGlobal *wg;
+ RunesWindowBackend *wb;
setlocale(LC_ALL, "");
loop = runes_loop_new();
- wg = runes_window_backend_global_init();
- runes_term_register_with_loop(runes_term_new(argc, argv, wg), loop);
+ wb = runes_window_backend_new();
+ runes_term_register_with_loop(runes_term_new(argc, argv, wb), loop);
runes_loop_run(loop);