swayfx/sway/desktop
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
..
desktop.c Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
idle_inhibit_v1.c Fix crash when destroying an idle-inhibiting client 2018-09-16 23:20:58 +10:00
layer_shell.c Update for swaywm/wlroots#1243 2018-09-14 19:21:44 +02:00
output.c Rename seat_get_active_child to seat_get_active_tiling_child 2018-09-16 22:01:54 +10:00
render.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
transaction.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
xdg_shell.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
xdg_shell_v6.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
xwayland.c Add CSD to border modes 2018-09-27 22:51:37 +10:00