fix(linux): added support for logical screen size with zxdg_output_v1 (#4594)

This commit is contained in:
Julio Sanz 2026-01-18 02:32:24 +01:00 committed by GitHub
commit c313851878
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -144,6 +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;
BOOST_LOG(info) << "Logical size: "sv << width << 'x' << height;
}