mirror of
https://github.com/swaywm/sway.git
synced 2024-12-29 16:36:26 +01:00
Fix surface offset when using borders
This commit is contained in:
parent
fa5de2876e
commit
0375f966f1
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue