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