sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 57c28f96fd38d05f4374a3ae20b694b6440b3261
parent 94e81fd64c4f63815047fa1ad895cade9afa8bd4
Author: Taiyu <taiyu.len@gmail.com>
Date:   Thu, 13 Aug 2015 12:02:56 -0700

split workspace bug

Diffstat:
Msway/commands.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/sway/commands.c b/sway/commands.c @@ -235,6 +235,10 @@ static bool _do_split(struct sway_config *config, int argc, char **argv, int lay return false; } swayc_t *focused = get_focused_container(&root_container); + if (focused->type == C_WORKSPACE) { + sway_log(L_DEBUG, "Dont split workspaces"); + return true; + } swayc_t *parent = focused->parent; sway_log(L_DEBUG, "Splitting %p vertically with %p", parent, focused); int index = remove_container_from_parent(parent, focused);