workspace_get: Remove useless argument

Also reworks the structure a bit
This commit is contained in:
Orestis Floros
2020-04-17 00:59:55 +02:00
parent 9b295fbb57
commit 9d2c855fcd
7 changed files with 50 additions and 65 deletions

View File

@ -727,7 +727,7 @@ static void handle_client_message(xcb_client_message_event_t *event) {
return;
}
if (con_is_internal(ws) && ws != workspace_get("__i3_scratch", NULL)) {
if (con_is_internal(ws) && ws != workspace_get("__i3_scratch")) {
DLOG("Workspace is internal but not scratchpad, ignoring _NET_ACTIVE_WINDOW\n");
return;
}