mirror of
https://github.com/swaywm/sway.git
synced 2024-11-16 13:13:17 +00:00
style
This commit is contained in:
parent
e3edab8a4c
commit
7d294213d1
|
@ -237,7 +237,7 @@ static bool _do_split(struct sway_config *config, int argc, char **argv, int lay
|
||||||
swayc_t *focused = get_focused_container(&root_container);
|
swayc_t *focused = get_focused_container(&root_container);
|
||||||
if (focused->type == C_WORKSPACE) {
|
if (focused->type == C_WORKSPACE) {
|
||||||
sway_log(L_DEBUG, "Dont split workspaces");
|
sway_log(L_DEBUG, "Dont split workspaces");
|
||||||
if(focused->children->length == 0) {
|
if (focused->children->length == 0) {
|
||||||
focused->layout = layout;
|
focused->layout = layout;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue