You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While wl_surface.preferred_buffer_scale is defined to default to 1, GNOME sends the initial preferred_buffer_scale(1), so clients may start to rely on it.
For example, Kitty was relying on this: kovidgoyal/kitty#8236 Though admittedly, it was to work around suboptimal behavior in other compositors, and it's just been changed in Kitty in a way that shouldn't affect Smithay any more.
In any case, it should be a simple change in Smithay, and it's just one event at initial configure, so maybe it's best to send it. The relevant code:
I guess wouldn't cause any harm to send an initial scale value, even if it is 1, as long as downstream has the option to send a different value for the initial configure. PRs welcome.
While
wl_surface.preferred_buffer_scale
is defined to default to 1, GNOME sends the initialpreferred_buffer_scale(1)
, so clients may start to rely on it.For example, Kitty was relying on this: kovidgoyal/kitty#8236 Though admittedly, it was to work around suboptimal behavior in other compositors, and it's just been changed in Kitty in a way that shouldn't affect Smithay any more.
In any case, it should be a simple change in Smithay, and it's just one event at initial configure, so maybe it's best to send it. The relevant code:
smithay/src/wayland/compositor/mod.rs
Lines 413 to 422 in 953959e
Note that GNOME does not send the initial preferred_buffer_transform if it's Normal.
The text was updated successfully, but these errors were encountered: