Bugfix: ignore _NET_ACTIVE_WINDOW for scratchpad windows (Thanks mistnim)

fixes: #1136
This commit is contained in:
Michael Stapelberg
2013-12-21 21:32:23 +01:00
parent fd07f989fd
commit 85321bdf1d
2 changed files with 23 additions and 0 deletions

View File

@ -682,6 +682,11 @@ static void handle_client_message(xcb_client_message_event_t *event) {
return;
}
if (con_is_internal(ws)) {
DLOG("Workspace is internal, ignoring _NET_ACTIVE_WINDOW\n");
return;
}
if (ws != con_get_workspace(focused))
workspace_show(ws);