From 88ab66e742c62bae389116065b6e2267a51b1d8c Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 6 Mar 2011 02:06:05 +0100 Subject: [PATCH] =?utf8?q?Bugfix:=20don=E2=80=99t=20focus=20dock=20clients?= =?utf8?q?=20with=20new=20click=20handling=20code=20(Thanks=20mseed)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/click.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/click.c b/src/click.c index 8c0d7f66..8028f683 100644 --- a/src/click.c +++ b/src/click.c @@ -150,6 +150,10 @@ static int route_click(Con *con, xcb_button_press_event_t *event, bool mod_press DLOG("--> OUTCOME = %p\n", con); DLOG("type = %d, name = %s\n", con->type, con->name); + /* don’t handle dockarea cons, they must not be focused */ + if (con->parent->type == CT_DOCKAREA) + goto done; + /* get the floating con */ Con *floatingcon = con_inside_floating(con); const bool proportional = (event->state & BIND_SHIFT); -- 2.39.5