parent
5c0351ff33
commit
9261c278af
1 changed files with 8 additions and 3 deletions
|
|
@ -1026,9 +1026,14 @@ impl Output {
|
|||
height,
|
||||
refresh,
|
||||
} => {
|
||||
if flags
|
||||
.into_result()
|
||||
.is_ok_and(|f| f.contains(client::wl_output::Mode::Current))
|
||||
{
|
||||
self.dimensions.width = width;
|
||||
self.dimensions.height = height;
|
||||
debug!("{} dimensions: {width}x{height}", self.server.id());
|
||||
}
|
||||
self.server
|
||||
.mode(convert_wenum(flags), width, height, refresh);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue