summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-08-11 22:01:08 +0200
committerDavid Herrmann <dh.herrmann@googlemail.com>2012-08-11 22:02:46 +0200
commitc9ccc70fcbbe6631248e74d0361aa92dc9c1ea30 (patch)
treee7217283264be811848524e4b6777499fcc54962 /src/terminal.c
parent39be24697a20fb48ad1607c2ae667d427249af27 (diff)
main: move conf_global to kmscon_conf in new header main.h
The main configuration is now limited to kmscon and thus should not use the conf_* prefix. Move all code to use the new name and introduce the new main.h header mainly for kmscon. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 39e397d..118ad96 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -33,10 +33,10 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
-#include "conf.h"
#include "console.h"
#include "eloop.h"
#include "log.h"
+#include "main.h"
#include "pty.h"
#include "static_misc.h"
#include "terminal.h"
@@ -172,7 +172,7 @@ static int add_display(struct kmscon_terminal *term, struct uterm_display *disp)
goto err_free;
}
- ret = kmscon_font_find(&scr->font, &attr, conf_global.font_engine);
+ ret = kmscon_font_find(&scr->font, &attr, kmscon_conf.font_engine);
if (ret) {
log_error("cannot create font");
goto err_screen;