aboutsummaryrefslogtreecommitdiff
path: root/include/ipc.h
diff options
context:
space:
mode:
authorDimitris Triantafyllidis <dtr@localhost.localdomain>2020-10-27 21:24:30 +0200
committerTudor Brindus <me@tbrindus.ca>2020-10-28 00:36:33 -0400
commit39328ca4e4b97bd76153869f6a0a20fef3c17112 (patch)
tree6676e1aa53e63c11114261b148efc773805e4350 /include/ipc.h
parent32788a93f23eaa683f7a88694c778cd084607754 (diff)
In container_split, set a floating container's view to tiled
Currently, when a floating container with a view is split and children are added to it, the new views are rendered as tiled, while the first view stays in floating style. Here this is addressed by setting the view to tiled as soon as the container is split, by duplicating the "view part" of the logic in container_set_floating(..., false). Since the new container of the view is no longer considered floating, it makes sense to set the view to tiling at this point. The view would have to be set back to floating if it was possible to "unsplit" the container.
Diffstat (limited to 'include/ipc.h')
0 files changed, 0 insertions, 0 deletions