summaryrefslogtreecommitdiff
path: root/openbox/event.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 /openbox/event.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 'openbox/event.c')
-rw-r--r--openbox/event.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/event.c b/openbox/event.c
index 04174af0..edd6f4ce 100644
--- a/openbox/event.c
+++ b/openbox/event.c
@@ -2,6 +2,7 @@
#include "client.h"
#include "xerror.h"
#include "prop.h"
+#include "config.h"
#include "screen.h"
#include "frame.h"
#include "engine.h"
@@ -388,7 +389,7 @@ static void event_handle_client(Client *client, XEvent *e)
client);
focus_order[desktop] = g_list_prepend(focus_order[desktop],
client);
- } else if (focus_follow) {
+ } else if (config_focus_follow) {
#ifdef DEBUG_FOCUS
g_message("EnterNotify on %lx, focusing window",
client->window);