fix(linux): fix issues with rendering and touchscreens when displays are scaled (#4607)
This commit is contained in:
parent
ff770d60c5
commit
aca5d23f4e
6 changed files with 77 additions and 9 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue