Force buffers to be unscaled

Satellite will now force Xwayland to always render with the native
display resolution, and just scale surface sizes accordingly. As a result,
applications won't really respect DPI, but this can be adjusted through
the same means as with normal X11.

Part of #28.
This commit is contained in:
Shawn Wallace 2025-04-09 00:32:20 -04:00
parent 45c0556964
commit 8188df0e70
8 changed files with 636 additions and 244 deletions

View file

@ -67,6 +67,7 @@ pub fn main(data: impl RunData) -> Option<()> {
let mut xwayland = xwayland
.args([
"-rootless",
"-force-xrandr-emulation",
"-wm",
&xsock_xwl.as_raw_fd().to_string(),
"-displayfd",