diff options
| author | Kirill Primak <vyivel@eclair.cafe> | 2024-10-25 18:38:55 +0300 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2024-10-25 17:42:35 +0200 |
| commit | 015e357fce8250cdde03844ca81e9ae982ef4bfb (patch) | |
| tree | 74fe3cc51fb230b5e9139c247d36ea967b017021 | |
| parent | a63027245a6805bb952e47c5751ecdd7d1063d2f (diff) | |
desktop/output: chase wlroots private fields update
This will be replaced with a proper solution later.
| -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 a4eaa4b3..18a04c09 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -188,8 +188,8 @@ static enum wlr_scale_filter_mode get_scale_filter(struct sway_output *output, struct wlr_scene_buffer *buffer) { // if we are scaling down, we should always choose linear if (buffer->dst_width > 0 && buffer->dst_height > 0 && ( - buffer->dst_width < buffer->buffer_width || - buffer->dst_height < buffer->buffer_height)) { + buffer->dst_width < buffer->WLR_PRIVATE.buffer_width || + buffer->dst_height < buffer->WLR_PRIVATE.buffer_height)) { return WLR_SCALE_FILTER_BILINEAR; } |
