sway-patched-tray-menu-github/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
..
commands Add CSD to border modes 2018-09-27 22:51:37 +10:00
config input config: merge left_handed option 2018-09-27 09:25:43 +01:00
desktop Add CSD to border modes 2018-09-27 22:51:37 +10:00
input Add CSD to border modes 2018-09-27 22:51:37 +10:00
tree Add CSD to border modes 2018-09-27 22:51:37 +10:00
base64.c Rework get_clipboard implementation 2017-07-07 21:51:34 +02:00
commands.c Implement support for input wildcard 2018-09-23 19:56:52 -04:00
config.c Introduce tiling_drag directive 2018-09-11 17:17:19 +10:00
criteria.c Fix inversed condition in criteria 2018-09-05 18:01:43 +10:00
debug-tree.c Align titles to baseline 2018-09-08 16:25:07 +10:00
decoration.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
ipc-json.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
ipc-server.c Make sway/ipc-server.c POSIX 2001 compliant 2018-09-26 20:10:53 +02:00
main.c Allow running commands on containers without focusing them 2018-09-23 08:39:11 +10:00
meson.build Add CSD to border modes 2018-09-27 22:51:37 +10:00
security.c Add minimal config subsystem 2017-12-05 10:40:55 +01:00
server.c Add CSD to border modes 2018-09-27 22:51:37 +10:00
sway-bar.5.scd Add sway-bar(5) 2018-05-11 21:13:43 -04:00
sway-input.5.scd Escaping underscores in tap_button_map 2018-07-29 14:47:53 +02:00
sway.1.scd delete references to swaygrab 2018-07-30 16:24:46 +01:00
sway.5.scd commands: implement move absolute 2018-08-20 10:17:32 +01:00
swaynag.c Fix compiler errors. 2018-08-05 00:24:44 -07:00
xdg_decoration.c Add CSD to border modes 2018-09-27 22:51:37 +10:00