fix(linux): fix issues with rendering and touchscreens when displays are scaled (#4607)

This commit is contained in:
Julio Sanz 2026-01-22 00:29:53 +01:00 committed by GitHub
commit aca5d23f4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 77 additions and 9 deletions

View file

@ -144,8 +144,8 @@ namespace wl {
}
void monitor_t::xdg_size(zxdg_output_v1 *, std::int32_t width, std::int32_t height) {
viewport.width = width;
viewport.height = height;
viewport.logical_width = width;
viewport.logical_height = height;
BOOST_LOG(info) << "Logical size: "sv << width << 'x' << height;
}