aboutsummaryrefslogtreecommitdiffstats
path: root/sway/decoration.c
Commit message (Collapse)AuthorAge
* Fix double free when unmapping any viewLibravatar Ryan Dwyer2018-11-15
|
* Add some missing frees.Libravatar Connor E2018-11-13
|
* Rename view_set_csd_from_client to view_update_csd_from_clientLibravatar Ryan Dwyer2018-09-27
|
* Add CSD to border modesLibravatar Ryan Dwyer2018-09-27
| | | | | | | | | | | | | | | | | 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.
* Handle views created after decoration mode is sent for xdg-shellLibravatar emersion2018-08-06
|
* Listen to server-decoration mode changesLibravatar emersion2018-08-06