swayfx/include/sway
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 Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
input Rename seat_get_active_child to seat_get_active_tiling_child 2018-09-16 22:01:54 +10:00
tree Add CSD to border modes 2018-09-27 22:51:37 +10:00
commands.h Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
config.h Implement support for input wildcard 2018-09-23 19:56:52 -04:00
criteria.h move criteria "instance", "class" and "window_role" inside HAVE_XWAYLAND ifdefs" 2018-09-03 14:25:48 +02:00
debug.h Use enum for damage debug options 2018-08-19 16:17:24 +10: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 Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
ipc-server.h Implement type safe arguments and demote sway_container 2018-09-05 18:01:43 +10:00
layers.h Update for swaywm/wlroots#1243 2018-09-14 19:21:44 +02:00
output.h Don't use wlr_output properties 2018-09-05 18:01:43 +10:00
security.h Move get_feature_policy to sway/security.c 2017-04-16 17:09:53 +03:00
server.h Add CSD to border modes 2018-09-27 22:51:37 +10:00
swaynag.h Remove swaynag_clone and use memcpy 2018-08-03 10:40:09 -04:00
xdg_decoration.h Add CSD to border modes 2018-09-27 22:51:37 +10:00
xwayland.h Implement window_type criteria token 2018-09-01 23:04:49 +10:00