Bugfix: don’t focus dock clients with new click handling code (Thanks mseed)

This commit is contained in:
Michael Stapelberg 2011-03-06 02:06:05 +01:00
parent 5024c0da95
commit 88ab66e742
1 changed files with 4 additions and 0 deletions

View File

@ -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);
/* dont 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);