sway

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

commit 0375f966f19c0d404e08fad3cf8548ce9376a95b
parent fa5de2876e3e8db4966d3404f01ba9600204d75b
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date:   Tue,  1 May 2018 18:23:40 +1000

Fix surface offset when using borders

Diffstat:
Msway/tree/container.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sway/tree/container.c b/sway/tree/container.c @@ -423,8 +423,8 @@ struct sway_container *container_at(struct sway_container *parent, soutput->sway_output->wlr_output); double ox = lx - output_box->x; double oy = ly - output_box->y; - double view_sx = ox - swayc->x; - double view_sy = oy - swayc->y; + double view_sx = ox - sview->x; + double view_sy = oy - sview->y; double _sx, _sy; struct wlr_surface *_surface;