From cd32e79e35652d76a50384100f47cf1508bf6ac0 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 23 Mar 2003 22:28:12 +0000 Subject: [PATCH] export its options and use them from the rc file --- plugins/focus.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/focus.c b/plugins/focus.c index db0a2b33..da76e98c 100644 --- a/plugins/focus.c +++ b/plugins/focus.c @@ -166,8 +166,9 @@ static void event(ObEvent *e, void *foo) --skip_enter; } else*/ - if (e->data.x.client != NULL && client_normal(e->data.x.client)) - client_focus(e->data.x.client); + if (follow_mouse.bool) + if (e->data.x.client != NULL && client_normal(e->data.x.client)) + client_focus(e->data.x.client); break; default: -- 2.39.2