From 71badb0790c8595a0ab6dedfbf8027c698369210 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 8 Apr 2003 07:31:26 +0000 Subject: move config option loading for the kernel into config.c/h add options for the number of desktops and the names of the desktops --- engines/openbox/obengine.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/openbox/obengine.c') diff --git a/engines/openbox/obengine.c b/engines/openbox/obengine.c index 843a6988..75396c8a 100644 --- a/engines/openbox/obengine.c +++ b/engines/openbox/obengine.c @@ -4,7 +4,7 @@ #include "kernel/openbox.h" #include "kernel/extensions.h" #include "kernel/dispatch.h" -#include "kernel/engine.h" +#include "kernel/config.h" #ifdef HAVE_SYS_STAT_H # include @@ -703,7 +703,7 @@ static void layout_title(ObFrame *self) /* figure out whats being shown, and the width of the label */ self->label_width = self->width - (ob_s_bevel + 1) * 2; - for (lc = engine_layout; *lc != '\0'; ++lc) { + for (lc = config_engine_layout; *lc != '\0'; ++lc) { switch (*lc) { case 'N': if (!(self->frame.client->decorations & Decor_Icon)) break; @@ -761,7 +761,7 @@ static void layout_title(ObFrame *self) if (!c) XUnmapWindow(ob_display, self->close); x = ob_s_bevel + 1; - for (lc = engine_layout; *lc != '\0'; ++lc) { + for (lc = config_engine_layout; *lc != '\0'; ++lc) { switch (*lc) { case 'N': if (!n) break; -- cgit v1.2.3