sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 70c2c504452eccbe5a74bc014e99b5b03db14124
parent d466b8fa7b5ba8dff4b5ea5520aa523f50815316
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date:   Thu, 31 May 2018 22:02:20 +1000

Fix changing borders on floating views

Diffstat:
Msway/commands/border.c | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sway/commands/border.c b/sway/commands/border.c @@ -37,7 +37,13 @@ struct cmd_results *cmd_border(int argc, char **argv) { "or 'border pixel <px>'"); } - view_autoconfigure(view); + if (container_is_floating(view->swayc)) { + container_damage_whole(view->swayc); + container_set_geometry_from_floating_view(view->swayc); + container_damage_whole(view->swayc); + } else { + view_autoconfigure(view); + } struct sway_seat *seat = input_manager_current_seat(input_manager); if (seat->cursor) {