16 lines
758 B
Text
16 lines
758 B
Text
Backport https://github.com/Smithay/client-toolkit/commit/5cfd95021c05
|
|
to ignore wl_surface::Event::preferred_buffer_scale after
|
|
https://invent.kde.org/plasma/kwin/-/commit/d2b0ed0c5a1e
|
|
https://github.com/swaywm/sway/commit/fc16fb65491b
|
|
https://github.com/hyprwm/Hyprland/commit/59f27e7f5701
|
|
|
|
--- cargo-crates/smithay-client-toolkit-0.16.0/src/environment.rs.orig 1970-01-01 00:00:00 UTC
|
|
+++ cargo-crates/smithay-client-toolkit-0.16.0/src/environment.rs
|
|
@@ -283,6 +283,7 @@ impl<I: Interface + Clone + From<Proxy<I>> + AsRef<Pro
|
|
version: u32,
|
|
_: DispatchData,
|
|
) {
|
|
+ let version = I::VERSION.min(version);
|
|
self.global = Some((*registry.bind::<I>(version, id)).clone())
|
|
}
|
|
fn get(&self) -> Option<Attached<I>> {
|