diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-05 20:27:03 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-05 20:27:03 +0000 |
| commit | cbbf90a718ecc6836ef7a77b9040aebb9da348b8 (patch) | |
| tree | a53bcdc993f850bc0500daaebd5b1bd0b7b50ee1 /openbox/event.c | |
| parent | 88f8ebada97c4c82252badeb57b7e71a2940600b (diff) | |
change how rc parsing will work. a=b will be parsed in any [section] and given to a separate parsing callback. no more general config infrastructure needed/
Diffstat (limited to 'openbox/event.c')
| -rw-r--r-- | openbox/event.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/openbox/event.c b/openbox/event.c index 2d144519..79befa66 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -1,6 +1,5 @@ #include "openbox.h" #include "client.h" -#include "config.h" #include "xerror.h" #include "prop.h" #include "screen.h" @@ -356,7 +355,6 @@ static void event_handle_client(Client *client, XEvent *e) XEvent ce; Atom msgtype; int i=0; - ConfigValue focus_follow; switch (e->type) { case FocusIn: @@ -378,12 +376,8 @@ static void event_handle_client(Client *client, XEvent *e) client); focus_order[desktop] = g_list_prepend(focus_order[desktop], client); - } else { - if (!config_get("focusFollowsMouse",Config_Bool,&focus_follow)) - g_assert_not_reached(); - if (focus_follow.bool) - client_focus(client); - } + } else if (focus_follow) + client_focus(client); } break; case ConfigureRequest: |
