summaryrefslogtreecommitdiff
path: root/engines/openbox/obengine.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-08 07:31:26 +0000
committerDana Jansens <danakj@orodu.net>2003-04-08 07:31:26 +0000
commit71badb0790c8595a0ab6dedfbf8027c698369210 (patch)
tree2985012f6a12b5b0157541885d663c141b5bb0c7 /engines/openbox/obengine.c
parent672f1de2812adc49170414d7abbb2df7db69f34c (diff)
move config option loading for the kernel into config.c/h
add options for the number of desktops and the names of the desktops
Diffstat (limited to 'engines/openbox/obengine.c')
-rw-r--r--engines/openbox/obengine.c6
1 files changed, 3 insertions, 3 deletions
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 <sys/stat.h>
@@ -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;