Bugfix: don’t focus dock clients (Thanks mseed, mist)

Fixes #321 and #323
This commit is contained in:
Michael Stapelberg
2011-03-03 13:59:42 +01:00
parent 33c2b4e582
commit e0647b7fc2
2 changed files with 12 additions and 0 deletions

View File

@ -181,6 +181,11 @@ int handle_enter_notify(void *ignored, xcb_connection_t *conn,
return 1;
}
if (con->parent->type == CT_DOCKAREA) {
DLOG("Ignoring, this is a dock client\n");
return 1;
}
/* see if the user entered the window on a certain window decoration */
int layout = (enter_child ? con->parent->layout : con->layout);
Con *child;