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 --- openbox/event.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/event.c') 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); -- cgit v1.2.3