forge
Explore
Log in

Don't you dare go Hollow

Update Smithay (frame callback fix, late-bound enter fix, unrelated unlock fix)

Browse files at this commit

92a25a0a8619f55596e5c138ea6d6a391e24e9dbIvan MolodetskikhParent: fec411e
Cargo.lockmodified+46 -8
@@ -613,6 +613,17 @@ version = "0.2.2"
613613 source = "registry+https://github.com/rust-lang/crates.io-index"
614614 checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
615615
616+[[package]]
617+name = "chacha20"
618+version = "0.10.1"
619+source = "registry+https://github.com/rust-lang/crates.io-index"
620+checksum = "d524456ba66e72eb8b115ff89e01e497f8e6d11d78b70b1aa13c0fbd97540a81"
621+dependencies = [
622+ "cfg-if",
623+ "cpufeatures 0.3.0",
624+ "rand_core 0.10.1",
625+]
626+
616627 [[package]]
617628 name = "chumsky"
618629 version = "0.9.3"
@@ -743,6 +754,15 @@ dependencies = [
743754 "libc",
744755 ]
745756
757+[[package]]
758+name = "cpufeatures"
759+version = "0.3.0"
760+source = "registry+https://github.com/rust-lang/crates.io-index"
761+checksum = "8b2a41393f66f16b0823bb79094d54ac5fbd34ab292ddafb9a0456ac9f87d201"
762+dependencies = [
763+ "libc",
764+]
765+
746766 [[package]]
747767 name = "crc32fast"
748768 version = "1.5.0"
@@ -1272,6 +1292,7 @@ dependencies = [
12721292 "cfg-if",
12731293 "libc",
12741294 "r-efi 6.0.0",
1295+ "rand_core 0.10.1",
12751296 ]
12761297
12771298 [[package]]
@@ -2737,7 +2758,7 @@ dependencies = [
27372758 "bit-vec",
27382759 "bitflags",
27392760 "num-traits",
2740- "rand",
2761+ "rand 0.9.5",
27412762 "rand_chacha",
27422763 "rand_xorshift",
27432764 "regex-syntax",
@@ -2800,7 +2821,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
28002821 checksum = "b9ef1d0d795eb7d84685bca4f72f3649f064e6641543d3a8c415898726a57b41"
28012822 dependencies = [
28022823 "rand_chacha",
2803- "rand_core",
2824+ "rand_core 0.9.5",
2825+]
2826+
2827+[[package]]
2828+name = "rand"
2829+version = "0.10.2"
2830+source = "registry+https://github.com/rust-lang/crates.io-index"
2831+checksum = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80"
2832+dependencies = [
2833+ "chacha20",
2834+ "getrandom 0.4.3",
2835+ "rand_core 0.10.1",
28042836 ]
28052837
28062838 [[package]]
@@ -2810,7 +2842,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
28102842 checksum = "d3022b5f1df60f26e1ffddd6c66e8aa15de382ae63b3a0c1bfc0e4d3e3f325cb"
28112843 dependencies = [
28122844 "ppv-lite86",
2813- "rand_core",
2845+ "rand_core 0.9.5",
28142846 ]
28152847
28162848 [[package]]
@@ -2822,13 +2854,19 @@ dependencies = [
28222854 "getrandom 0.3.4",
28232855 ]
28242856
2857+[[package]]
2858+name = "rand_core"
2859+version = "0.10.1"
2860+source = "registry+https://github.com/rust-lang/crates.io-index"
2861+checksum = "63b8176103e19a2643978565ca18b50549f6101881c443590420e4dc998a3c69"
2862+
28252863 [[package]]
28262864 name = "rand_xorshift"
28272865 version = "0.4.0"
28282866 source = "registry+https://github.com/rust-lang/crates.io-index"
28292867 checksum = "513962919efc330f829edb2535844d1b912b0fbe2ca165d613e4e8788bb05a5a"
28302868 dependencies = [
2831- "rand_core",
2869+ "rand_core 0.9.5",
28322870 ]
28332871
28342872 [[package]]
@@ -3142,7 +3180,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
31423180 checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283"
31433181 dependencies = [
31443182 "cfg-if",
3145- "cpufeatures",
3183+ "cpufeatures 0.2.17",
31463184 "digest",
31473185 ]
31483186
@@ -3232,7 +3270,7 @@ checksum = "e8e2fb0f499abb4d162f2bedad68f5ef91a1682b5a03596ddb67efd37768d100"
32323270 [[package]]
32333271 name = "smithay"
32343272 version = "0.7.0"
3235-source = "git+https://github.com/Smithay/smithay.git?rev=7609ab82f002436188ebd4df1d8f7e1905f90c4a#7609ab82f002436188ebd4df1d8f7e1905f90c4a"
3273+source = "git+https://github.com/Smithay/smithay.git?rev=4cf0b62028039661477d482ec4758b687d8f4392#4cf0b62028039661477d482ec4758b687d8f4392"
32363274 dependencies = [
32373275 "aliasable",
32383276 "appendlist",
@@ -3258,7 +3296,7 @@ dependencies = [
32583296 "pkg-config",
32593297 "portable-atomic",
32603298 "profiling",
3261- "rand",
3299+ "rand 0.10.2",
32623300 "reis",
32633301 "rustix 1.1.4",
32643302 "sha2",
@@ -3311,7 +3349,7 @@ dependencies = [
33113349 [[package]]
33123350 name = "smithay-drm-extras"
33133351 version = "0.1.0"
3314-source = "git+https://github.com/Smithay/smithay.git?rev=7609ab82f002436188ebd4df1d8f7e1905f90c4a#7609ab82f002436188ebd4df1d8f7e1905f90c4a"
3352+source = "git+https://github.com/Smithay/smithay.git?rev=4cf0b62028039661477d482ec4758b687d8f4392#4cf0b62028039661477d482ec4758b687d8f4392"
33153353 dependencies = [
33163354 "drm",
33173355 "libdisplay-info",
Cargo.tomlmodified+2 -2
@@ -28,13 +28,13 @@ tracy-client = { version = "0.18.4", default-features = false }
2828 [workspace.dependencies.smithay]
2929 # version = "0.4.1"
3030 git = "https://github.com/Smithay/smithay.git"
31-rev = "7609ab82f002436188ebd4df1d8f7e1905f90c4a"
31+rev = "4cf0b62028039661477d482ec4758b687d8f4392"
3232 default-features = false
3333
3434 [workspace.dependencies.smithay-drm-extras]
3535 # version = "0.1.0"
3636 git = "https://github.com/Smithay/smithay.git"
37-rev = "7609ab82f002436188ebd4df1d8f7e1905f90c4a"
37+rev = "4cf0b62028039661477d482ec4758b687d8f4392"
3838 # path = "../smithay/smithay-drm-extras"
3939
4040 [package]
src/niri.rsmodified+5 -0
@@ -6086,6 +6086,11 @@ impl Niri {
60866086 return;
60876087 }
60886088
6089+ if lock != surface.ext_session_lock() {
6090+ debug!("ignoring lock surface from an unrelated lock instance");
6091+ return;
6092+ }
6093+
60896094 let Some(output_state) = self.output_state.get_mut(output) else {
60906095 error!("missing output state");
60916096 return;