Merge pull request #1652 from Airblader/fix-1649
Removed comment on removal of legacy "default" layout.
This commit is contained in:
commit
b01dd1121e
|
@ -1355,11 +1355,7 @@ void con_set_layout(Con *con, layout_t layout) {
|
||||||
* with an orientation). Since we switched to splith/splitv layouts,
|
* with an orientation). Since we switched to splith/splitv layouts,
|
||||||
* using the "default" layout (which "only" should happen when using
|
* using the "default" layout (which "only" should happen when using
|
||||||
* legacy configs) is using the last split layout (either splith or
|
* legacy configs) is using the last split layout (either splith or
|
||||||
* splitv) in order to still do the same thing.
|
* splitv) in order to still do the same thing. */
|
||||||
*
|
|
||||||
* Starting from v4.6 though, we will nag users about using "layout
|
|
||||||
* default", and in v4.9 we will remove it entirely (with an
|
|
||||||
* appropriate i3-migrate-config mechanism). */
|
|
||||||
con->layout = con->last_split_layout;
|
con->layout = con->last_split_layout;
|
||||||
/* In case last_split_layout was not initialized… */
|
/* In case last_split_layout was not initialized… */
|
||||||
if (con->layout == L_DEFAULT)
|
if (con->layout == L_DEFAULT)
|
||||||
|
|
Loading…
Reference in New Issue