Merge pull request #4041 from orestisfl/floating_enable-bool

Only set FLOATING_AUTO_ON when floating_enable succeeds
This commit is contained in:
Ingo Bürk
2020-04-30 09:04:22 +02:00
committed by GitHub
5 changed files with 85 additions and 12 deletions

View File

@ -25,7 +25,7 @@ typedef enum { BORDER_LEFT = (1 << 0),
* floating_windows list of the workspace.
*
*/
void floating_enable(Con *con, bool automatic);
bool floating_enable(Con *con, bool automatic);
/**
* Disables floating mode for the given container by re-attaching the container