Replace the discrete 'split' Con property with a simple function.

This commit is contained in:
Deiz
2012-10-03 13:10:48 -04:00
committed by Michael Stapelberg
parent d7e5da8b39
commit fdcba7b91a
9 changed files with 33 additions and 30 deletions

View File

@ -99,7 +99,6 @@ void floating_enable(Con *con, bool automatic) {
* otherwise. */
Con *ws = con_get_workspace(con);
nc->parent = ws;
nc->split = true;
nc->type = CT_FLOATING_CON;
nc->layout = L_SPLITH;
/* We insert nc already, even though its rect is not yet calculated. This