aboutsummaryrefslogtreecommitdiffstats
path: root/src/runesd.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/runesd.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/runesd.c')
-rw-r--r--src/runesd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/runesd.c b/src/runesd.c
index 5398a74..d2c5cca 100644
--- a/src/runesd.c
+++ b/src/runesd.c
@@ -4,13 +4,13 @@
#include "loop.h"
#include "daemon.h"
-#include "window-xlib.h"
+#include "window-backend-xlib.h"
int main (int argc, char *argv[])
{
RunesLoop *loop;
RunesDaemon *daemon;
- RunesWindowBackendGlobal *wg;
+ RunesWindowBackend *wb;
UNUSED(argv);
@@ -21,8 +21,8 @@ int main (int argc, char *argv[])
setlocale(LC_ALL, "");
loop = runes_loop_new();
- wg = runes_window_backend_global_init();
- daemon = runes_daemon_new(loop, wg);
+ wb = runes_window_backend_new();
+ daemon = runes_daemon_new(loop, wb);
UNUSED(daemon);
runes_loop_run(loop);