summaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
authorLibravatar D.B <thejan.2009@gmail.com>2016-07-16 15:11:08 +0200
committerLibravatar D.B <thejan.2009@gmail.com>2016-07-16 15:34:43 +0200
commitad7605675ef5d1fc99653e80c3c846429abfda25 (patch)
tree001033de86cb34fca09837a643a0818f299cdf3e /sway/commands.c
parentFix warning in window.c (diff)
downloadsway-ad7605675ef5d1fc99653e80c3c846429abfda25.tar.gz
sway-ad7605675ef5d1fc99653e80c3c846429abfda25.tar.zst
sway-ad7605675ef5d1fc99653e80c3c846429abfda25.zip
refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 871b3078..b9399dec 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -2315,7 +2315,7 @@ static struct cmd_results *_do_split(int argc, char **argv, int layout) {
2315 } 2315 }
2316 2316
2317 // update container title if tabbed/stacked 2317 // update container title if tabbed/stacked
2318 if (swayc_tabbed_stacked_parent(focused)) { 2318 if (swayc_tabbed_stacked_ancestor(focused)) {
2319 update_view_border(focused); 2319 update_view_border(focused);
2320 swayc_t *output = swayc_parent_by_type(focused, C_OUTPUT); 2320 swayc_t *output = swayc_parent_by_type(focused, C_OUTPUT);
2321 // schedule render to make changes take effect right away, 2321 // schedule render to make changes take effect right away,