Supreeeme / xwayland-satellite

Xwayland outside your Wayland
Mozilla Public License 2.0
191 stars 10 forks source link

Implement force scaling to 1 #28

Open frigaut opened 4 months ago

frigaut commented 4 months ago

Hi there - I am using xwayland-satellite with the niri compositor, for the occasional X app. Now that niri has implemented fractional scaling (I am using 1.5), the X windows are, of course, blurry. That's a known limitation. hyprland has an interesting twist on their implementation of xwayland: they offer a force_zero_scaling option, and when this is set, xwayland is not scaling its windows. IMO, that is convenient, as I can always fudge the display DPI to get things legible, and they appear crisp.

Would it be possible to implement something like this in xwl-s? Thanks.

YaLTeR commented 4 months ago

Maybe something like, tell Xwayland that the scale is 1, then use fractional-scale + viewporter to draw it at physical 1x on the host?

zetaPRIME commented 1 month ago

Being able to use this to essentially bodge the functionality into, say, swayfx would also be pretty great.

Titaniumtown commented 2 weeks ago

+1 I am trying to get steam working on my framework 13, it is really an eyesore.