mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed
This commit is contained in:
parent
7aeedf0264
commit
ad7605675e
7 changed files with 24 additions and 7 deletions
|
|
@ -2315,7 +2315,7 @@ static struct cmd_results *_do_split(int argc, char **argv, int layout) {
|
|||
}
|
||||
|
||||
// update container title if tabbed/stacked
|
||||
if (swayc_tabbed_stacked_parent(focused)) {
|
||||
if (swayc_tabbed_stacked_ancestor(focused)) {
|
||||
update_view_border(focused);
|
||||
swayc_t *output = swayc_parent_by_type(focused, C_OUTPUT);
|
||||
// schedule render to make changes take effect right away,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue