diff options
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 691a285d..7871a136 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -105,8 +105,8 @@ static bool get_surface_box(struct surface_iterator_data *data, data->rotation); struct wlr_box box = { - .x = data->ox + _sx, - .y = data->oy + _sy, + .x = floor(data->ox + _sx), + .y = floor(data->oy + _sy), .width = sw, .height = sh, }; |