summaryrefslogtreecommitdiff
path: root/security/gpg-tui/files/patch-sctk
blob: dbac2e238d180bfd11f1c3942499234dd99c436b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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>> {