summaryrefslogtreecommitdiffstats
path: root/include/container.h
diff options
context:
space:
mode:
authorLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-11-24 23:03:00 +0100
committerLibravatar S. Christoffer Eliesen <christoffer@eliesen.no>2015-11-27 17:30:05 +0100
commit0a78af0accf032087d4c25c8ae530311d2ee5874 (patch)
tree65156046e43bda23420d56ac80432ba8aebca174 /include/container.h
parentFix swaygrab memory leak (diff)
downloadsway-0a78af0accf032087d4c25c8ae530311d2ee5874.tar.gz
sway-0a78af0accf032087d4c25c8ae530311d2ee5874.tar.zst
sway-0a78af0accf032087d4c25c8ae530311d2ee5874.zip
workspace: Improve workspace_next_name.
This function looks for bound commands that start with `workspace` (ie. the commands that change to a static workspace) and fetches the workspace name. However, if it's actually a list of commands, then the parsing will pick up the delimiter ("," or ";") and also fail to recognize keywords ("next" etc). This patch fixes that by properly separating with delimiters.
Diffstat (limited to 'include/container.h')
0 files changed, 0 insertions, 0 deletions