Use fractional scaling when setting scale through xsettings

Fixes #168
This commit is contained in:
Shawn Wallace 2025-06-19 17:02:42 -04:00
parent 799027d1ae
commit b98fa84524
6 changed files with 269 additions and 151 deletions

View file

@ -1350,11 +1350,11 @@ impl<C: XConnection> GlobalDispatch<WlOutput, Global> for ServerState<C> {
(
server,
client,
event::OutputScaleFactor(1),
event::OutputScaleFactor::Output(1),
event::OutputDimensions::default(),
),
);
state.output_scales_updated = true;
state.updated_outputs.push(entity);
}
}
global_dispatch_with_events!(WlDrmServer, WlDrmClient);