swayfx/sway/tree
Ryan Dwyer 7b138e5ef0 Add CSD to border modes
This replaces view.using_csd with a new border mode: B_CSD. This also
removes sway_xdg_shell{_v6}_view.deco_mode and
view->has_client_side_decorations as we can now get these from the
border.

You can use `border toggle` to cycle through the modes including CSD, or
use `border csd` to set it directly. The client must support the
xdg-decoration protocol, and the only client I know of that does is the
example in wlroots.

If the client switches from SSD to CSD without us expecting it (via the
server-decoration protocol), we stash the previous border type into
view.saved_border so we can restore it if the client returns to SSD. I
haven't found a way to test this though.
2018-09-27 22:51:37 +10:00
..
arrange.c Prevent sticky containers from jumping on workspace switch 2018-09-23 11:36:16 +10:00
container.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
node.c ipc: handle NULL cases for node_get_output 2018-09-15 09:42:49 +01:00
output.c swaybar: handle hotplugging 2018-09-20 18:37:51 +02:00
root.c Fix double iteration of scratchpad containers 2018-09-18 21:53:02 +10:00
view.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
workspace.c Prevent sticky containers from jumping on workspace switch 2018-09-23 11:36:16 +10:00