3 ms·
Is it intrinsically fixed, or is it up to the compositor to do the right thing? (implying it may be broken in some compositors)
by glandium 6y ago
Is it intrinsically fixed, or is it up to the compositor to do the right thing? (implying it may be broken in some compositors)
- BearOso 6y agoThere's only integral buffer scales, so it's entirely up to the compositor or client to do fractional scaling. https://wayland-client-d.dpldocs.info/wayland.client.protocol.wl_surface_set_buffer_scale.html https://wayland-client-d.dpldocs.info/wayland.client.protoco...
- glandium 6y agoI don't know anything about the wayland API. Does this imply that windows can't have a different scaling on each screen they may overlap on? Or can a window be split across different surfaces?
- vetinari 6y agoWayland surfaces (windows) have integer property, that says at what scale they are rendered. Compositor then suitably scales them for target displays. If a surface is at two different displays at two different resolutions, it will be scaled correctly on both (up or down; depending on the application; in practice downscaled on the lower resolution one).
- canofbars 6y agoAll I know is the gnome settings has a scaling section and everything respects that scale.