Merge pull request #3376 from orestisf1993/floating-disable-scratchpad
Don't disable floating in internal workspaces
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user