swayfx/include/sway
Ryan Dwyer 2024f1da72 Resize only current and immediate siblings rather than all siblings
For example, create layout V[view view view] and resize the leftmost
view using mod+rightclick. Previously, the edge between view 2 and 3
would be adjusted as well. Now this edge will remain constant, which
matches the behaviour of i3.

To do this operation correctly, the resize tiling seatop now keeps track
of two containers, as the container that resizes horizontally will be a
different container to the one which resizes vertically (one will be an
ancestor). The tiling resize seatop now figures out these containers
during the start of the operation and keeps references to them in the
event. A new function container_find_resize_parent has been introduced
to do this. This function is also used by the resize command.

During cursor motion, the seatop logic is similar to before, but now has
to choose the correct container to resize.

In resize.c, container_resize_tiled and resize_tiled have been merged
into one. One of them originally did nothing except pass the values
through to the other.

container_resize_tiled now takes a simplified approach where it just
finds the immediate siblings on either side and resizes them without
worrying about the others. The parellel_coord and parallel_size
functions are no longer needed and have been removed.
2019-01-15 08:01:21 +10:00
..
desktop Rebase the cursor after applying transactions 2018-10-25 23:37:40 +10:00
input Disarm key repeat on reload 2019-01-14 20:15:23 +01:00
tree Refactor seat operations to use an interface 2019-01-10 22:04:42 +10:00
commands.h Resize only current and immediate siblings rather than all siblings 2019-01-15 08:01:21 +10:00
config.h Merge pull request #3144 from emersion/cmd-xwayland 2019-01-13 20:42:39 -05:00
criteria.h Use #if instead of #ifdef 2018-11-18 00:33:06 +01:00
debug.h Turn funcs() into funcs(void) 2018-09-30 14:09:05 +03:00
decoration.h Handle views created after decoration mode is sent for xdg-shell 2018-08-06 15:20:30 +01:00
desktop.h Store geometry in the view and handle any floating view resizing 2018-08-18 15:10:06 +10:00
ipc-json.h Turn funcs() into funcs(void) 2018-09-30 14:09:05 +03:00
ipc-server.h swaybar: show hidden bar on key event 2018-10-14 13:33:12 +01:00
layers.h Update for swaywm/wlroots#1243 2018-09-14 19:21:44 +02:00
output.h Refactor seat operations to use an interface 2019-01-10 22:04:42 +10:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Add xwayland command 2018-11-19 17:38:37 +01:00
swaynag.h Remove swaynag_clone and use memcpy 2018-08-03 10:40:09 -04:00
xdg_decoration.h Improve CSD logic 2018-09-27 22:51:37 +10:00
xwayland.h Parse missing i3 window types 2018-10-21 15:59:04 +02:00