atagen

monolith

public
Star0
Watch0

Commit d0ae4e0b0715

tarball

atagen <boss@atagen.co>2026-10-19 08:40 UTC

1 file changed+4-3
style: rustfmt scale
Modified file: crates/monolith/src/scale.rs+4 additions−3 deletions
@@ -38,9 +38,10 @@ impl State {
3838 }
3939
4040 pub fn send_scale(&self, surface: &WlSurface) {
41- let xwayland = surface
42- .client()
43- .is_some_and(|c| c.get_data::<smithay::xwayland::XWaylandClientData>().is_some());
41+ let xwayland = surface.client().is_some_and(|c| {
42+ c.get_data::<smithay::xwayland::XWaylandClientData>()
43+ .is_some()
44+ });
4445 match self.scale_output(surface).filter(|_| !xwayland) {
4546 Some(output) => {
4647 let scale = output.current_scale();