Merge pull request #3376 from orestisf1993/floating-disable-scratchpad

Don't disable floating in internal workspaces
This commit is contained in:
Ingo Bürk
2018-08-28 13:30:57 +02:00
committed by GitHub
2 changed files with 20 additions and 0 deletions

View File

@ -366,6 +366,10 @@ void floating_disable(Con *con, bool automatic) {
}
Con *ws = con_get_workspace(con);
if (con_is_internal(ws)) {
LOG("Can't disable floating for container in internal workspace.\n");
return;
}
Con *tiling_focused = con_descend_tiling_focused(ws);
if (tiling_focused->type == CT_WORKSPACE) {