forge
Explore
Log in

Don't you dare go Hollow

56cffa155b20eaeb5b3a5f3ad434493d700a43a6Ivan MolodetskikhParent: b54acf5
Cargo.lockmodified+37 -37
@@ -63,9 +63,9 @@ checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04"
63 63
64 [[package]]64 [[package]]
65 name = "anstream"65 name = "anstream"
66-version = "0.5.0"66+version = "0.6.4"
67 source = "registry+https://github.com/rust-lang/crates.io-index"67 source = "registry+https://github.com/rust-lang/crates.io-index"
68-checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c"68+checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44"
69 dependencies = [69 dependencies = [
70 "anstyle",70 "anstyle",
71 "anstyle-parse",71 "anstyle-parse",
@@ -77,15 +77,15 @@ dependencies = [
77 77
78 [[package]]78 [[package]]
79 name = "anstyle"79 name = "anstyle"
80-version = "1.0.3"80+version = "1.0.4"
81 source = "registry+https://github.com/rust-lang/crates.io-index"81 source = "registry+https://github.com/rust-lang/crates.io-index"
82-checksum = "b84bf0a05bbb2a83e5eb6fa36bb6e87baa08193c35ff52bbf6b38d8af2890e46"82+checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87"
83 83
84 [[package]]84 [[package]]
85 name = "anstyle-parse"85 name = "anstyle-parse"
86-version = "0.2.1"86+version = "0.2.2"
87 source = "registry+https://github.com/rust-lang/crates.io-index"87 source = "registry+https://github.com/rust-lang/crates.io-index"
88-checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333"88+checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140"
89 dependencies = [89 dependencies = [
90 "utf8parse",90 "utf8parse",
91 ]91 ]
@@ -101,9 +101,9 @@ dependencies = [
101 101
102 [[package]]102 [[package]]
103 name = "anstyle-wincon"103 name = "anstyle-wincon"
104-version = "2.1.0"104+version = "3.0.1"
105 source = "registry+https://github.com/rust-lang/crates.io-index"105 source = "registry+https://github.com/rust-lang/crates.io-index"
106-checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd"106+checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628"
107 dependencies = [107 dependencies = [
108 "anstyle",108 "anstyle",
109 "windows-sys 0.48.0",109 "windows-sys 0.48.0",
@@ -153,9 +153,9 @@ dependencies = [
153 153
154 [[package]]154 [[package]]
155 name = "async-executor"155 name = "async-executor"
156-version = "1.5.3"156+version = "1.5.4"
157 source = "registry+https://github.com/rust-lang/crates.io-index"157 source = "registry+https://github.com/rust-lang/crates.io-index"
158-checksum = "78f2db9467baa66a700abce2a18c5ad793f6f83310aca1284796fc3921d113fd"158+checksum = "2c1da3ae8dabd9c00f453a329dfe1fb28da3c0a72e2478cdcd93171740c20499"
159 dependencies = [159 dependencies = [
160 "async-lock",160 "async-lock",
161 "async-task",161 "async-task",
@@ -191,7 +191,7 @@ dependencies = [
191 "log",191 "log",
192 "parking",192 "parking",
193 "polling 2.8.0",193 "polling 2.8.0",
194- "rustix 0.37.23",194+ "rustix 0.37.24",
195 "slab",195 "slab",
196 "socket2",196 "socket2",
197 "waker-fn",197 "waker-fn",
@@ -219,7 +219,7 @@ dependencies = [
219 "cfg-if",219 "cfg-if",
220 "event-listener 3.0.0",220 "event-listener 3.0.0",
221 "futures-lite",221 "futures-lite",
222- "rustix 0.38.14",222+ "rustix 0.38.15",
223 "windows-sys 0.48.0",223 "windows-sys 0.48.0",
224 ]224 ]
225 225
@@ -236,9 +236,9 @@ dependencies = [
236 236
237 [[package]]237 [[package]]
238 name = "async-signal"238 name = "async-signal"
239-version = "0.2.1"239+version = "0.2.2"
240 source = "registry+https://github.com/rust-lang/crates.io-index"240 source = "registry+https://github.com/rust-lang/crates.io-index"
241-checksum = "4af361a844928cb7d36590d406709473a1b574f443094422ef166daa3b493208"241+checksum = "c99f3cb3f9ff89f7d718fbb942c9eb91bedff12e396adf09a622dfe7ffec2bc2"
242 dependencies = [242 dependencies = [
243 "async-io",243 "async-io",
244 "async-lock",244 "async-lock",
@@ -458,7 +458,7 @@ dependencies = [
458 "bitflags 2.4.0",458 "bitflags 2.4.0",
459 "log",459 "log",
460 "polling 3.1.0",460 "polling 3.1.0",
461- "rustix 0.38.14",461+ "rustix 0.38.15",
462 "slab",462 "slab",
463 "thiserror",463 "thiserror",
464 ]464 ]
@@ -536,9 +536,9 @@ dependencies = [
536 536
537 [[package]]537 [[package]]
538 name = "clap"538 name = "clap"
539-version = "4.4.5"539+version = "4.4.6"
540 source = "registry+https://github.com/rust-lang/crates.io-index"540 source = "registry+https://github.com/rust-lang/crates.io-index"
541-checksum = "824956d0dca8334758a5b7f7e50518d66ea319330cbceedcf76905c2f6ab30e3"541+checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956"
542 dependencies = [542 dependencies = [
543 "clap_builder",543 "clap_builder",
544 "clap_derive",544 "clap_derive",
@@ -546,9 +546,9 @@ dependencies = [
546 546
547 [[package]]547 [[package]]
548 name = "clap_builder"548 name = "clap_builder"
549-version = "4.4.5"549+version = "4.4.6"
550 source = "registry+https://github.com/rust-lang/crates.io-index"550 source = "registry+https://github.com/rust-lang/crates.io-index"
551-checksum = "122ec64120a49b4563ccaedcbea7818d069ed8e9aa6d829b82d8a4128936b2ab"551+checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45"
552 dependencies = [552 dependencies = [
553 "anstream",553 "anstream",
554 "anstyle",554 "anstyle",
@@ -1064,9 +1064,9 @@ dependencies = [
1064 1064
1065 [[package]]1065 [[package]]
1066 name = "hashbrown"1066 name = "hashbrown"
1067-version = "0.14.0"1067+version = "0.14.1"
1068 source = "registry+https://github.com/rust-lang/crates.io-index"1068 source = "registry+https://github.com/rust-lang/crates.io-index"
1069-checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"1069+checksum = "7dfda62a12f55daeae5015f81b0baea145391cb4520f86c248fc615d72640d12"
1070 1070
1071 [[package]]1071 [[package]]
1072 name = "heck"1072 name = "heck"
@@ -1105,12 +1105,12 @@ dependencies = [
1105 1105
1106 [[package]]1106 [[package]]
1107 name = "indexmap"1107 name = "indexmap"
1108-version = "2.0.0"1108+version = "2.0.2"
1109 source = "registry+https://github.com/rust-lang/crates.io-index"1109 source = "registry+https://github.com/rust-lang/crates.io-index"
1110-checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d"1110+checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897"
1111 dependencies = [1111 dependencies = [
1112 "equivalent",1112 "equivalent",
1113- "hashbrown 0.14.0",1113+ "hashbrown 0.14.1",
1114 ]1114 ]
1115 1115
1116 [[package]]1116 [[package]]
@@ -1171,7 +1171,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1171 checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b"1171 checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b"
1172 dependencies = [1172 dependencies = [
1173 "hermit-abi",1173 "hermit-abi",
1174- "rustix 0.38.14",1174+ "rustix 0.38.15",
1175 "windows-sys 0.48.0",1175 "windows-sys 0.48.0",
1176 ]1176 ]
1177 1177
@@ -1923,7 +1923,7 @@ dependencies = [
1923 "cfg-if",1923 "cfg-if",
1924 "concurrent-queue",1924 "concurrent-queue",
1925 "pin-project-lite",1925 "pin-project-lite",
1926- "rustix 0.38.14",1926+ "rustix 0.38.15",
1927 "tracing",1927 "tracing",
1928 "windows-sys 0.48.0",1928 "windows-sys 0.48.0",
1929 ]1929 ]
@@ -2190,9 +2190,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
2190 2190
2191 [[package]]2191 [[package]]
2192 name = "rustix"2192 name = "rustix"
2193-version = "0.37.23"2193+version = "0.37.24"
2194 source = "registry+https://github.com/rust-lang/crates.io-index"2194 source = "registry+https://github.com/rust-lang/crates.io-index"
2195-checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06"2195+checksum = "4279d76516df406a8bd37e7dff53fd37d1a093f997a3c34a5c21658c126db06d"
2196 dependencies = [2196 dependencies = [
2197 "bitflags 1.3.2",2197 "bitflags 1.3.2",
2198 "errno",2198 "errno",
@@ -2204,9 +2204,9 @@ dependencies = [
2204 2204
2205 [[package]]2205 [[package]]
2206 name = "rustix"2206 name = "rustix"
2207-version = "0.38.14"2207+version = "0.38.15"
2208 source = "registry+https://github.com/rust-lang/crates.io-index"2208 source = "registry+https://github.com/rust-lang/crates.io-index"
2209-checksum = "747c788e9ce8e92b12cd485c49ddf90723550b654b32508f979b71a7b1ecda4f"2209+checksum = "d2f9da0cbd88f9f09e7814e388301c8414c51c62aa6ce1e4b5c551d49d96e531"
2210 dependencies = [2210 dependencies = [
2211 "bitflags 2.4.0",2211 "bitflags 2.4.0",
2212 "errno",2212 "errno",
@@ -2304,9 +2304,9 @@ dependencies = [
2304 2304
2305 [[package]]2305 [[package]]
2306 name = "sharded-slab"2306 name = "sharded-slab"
2307-version = "0.1.4"2307+version = "0.1.6"
2308 source = "registry+https://github.com/rust-lang/crates.io-index"2308 source = "registry+https://github.com/rust-lang/crates.io-index"
2309-checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31"2309+checksum = "c1b21f559e07218024e7e9f90f96f601825397de0e25420135f7f952453fed0b"
2310 dependencies = [2310 dependencies = [
2311 "lazy_static",2311 "lazy_static",
2312 ]2312 ]
@@ -2365,7 +2365,7 @@ checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c"
2365 [[package]]2365 [[package]]
2366 name = "smithay"2366 name = "smithay"
2367 version = "0.3.0"2367 version = "0.3.0"
2368-source = "git+https://github.com/Smithay/smithay.git#509030a151ad440f8406229f32d674811efd9007"2368+source = "git+https://github.com/Smithay/smithay.git#74ef59a3f8b6a1f86a74388590f2f852040354e4"
2369 dependencies = [2369 dependencies = [
2370 "appendlist",2370 "appendlist",
2371 "bitflags 2.4.0",2371 "bitflags 2.4.0",
@@ -2428,7 +2428,7 @@ dependencies = [
2428 [[package]]2428 [[package]]
2429 name = "smithay-drm-extras"2429 name = "smithay-drm-extras"
2430 version = "0.1.0"2430 version = "0.1.0"
2431-source = "git+https://github.com/Smithay/smithay.git#509030a151ad440f8406229f32d674811efd9007"2431+source = "git+https://github.com/Smithay/smithay.git#74ef59a3f8b6a1f86a74388590f2f852040354e4"
2432 dependencies = [2432 dependencies = [
2433 "drm",2433 "drm",
2434 "edid-rs",2434 "edid-rs",
@@ -2534,7 +2534,7 @@ dependencies = [
2534 "cfg-if",2534 "cfg-if",
2535 "fastrand 2.0.1",2535 "fastrand 2.0.1",
2536 "redox_syscall 0.3.5",2536 "redox_syscall 0.3.5",
2537- "rustix 0.38.14",2537+ "rustix 0.38.15",
2538 "windows-sys 0.48.0",2538 "windows-sys 0.48.0",
2539 ]2539 ]
2540 2540
@@ -3257,9 +3257,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
3257 3257
3258 [[package]]3258 [[package]]
3259 name = "winit"3259 name = "winit"
3260-version = "0.28.6"3260+version = "0.28.7"
3261 source = "registry+https://github.com/rust-lang/crates.io-index"3261 source = "registry+https://github.com/rust-lang/crates.io-index"
3262-checksum = "866db3f712fffba75d31bf0cdecf357c8aeafd158c5b7ab51dba2a2b2d47f196"3262+checksum = "9596d90b45384f5281384ab204224876e8e8bf7d58366d9b795ad99aa9894b94"
3263 dependencies = [3263 dependencies = [
3264 "android-activity",3264 "android-activity",
3265 "bitflags 1.3.2",3265 "bitflags 1.3.2",
src/handlers/xdg_shell.rsmodified+19 -14
@@ -241,20 +241,25 @@ impl State {
241 self.niri.popups.commit(surface);241 self.niri.popups.commit(surface);
242 242
243 if let Some(popup) = self.niri.popups.find_popup(surface) {243 if let Some(popup) = self.niri.popups.find_popup(surface) {
244- let PopupKind::Xdg(ref popup) = popup;244+ match popup {
245- let initial_configure_sent = with_states(surface, |states| {245+ PopupKind::Xdg(ref popup) => {
246- states246+ let initial_configure_sent = with_states(surface, |states| {
247- .data_map247+ states
248- .get::<XdgPopupSurfaceData>()248+ .data_map
249- .unwrap()249+ .get::<XdgPopupSurfaceData>()
250- .lock()250+ .unwrap()
251- .unwrap()251+ .lock()
252- .initial_configure_sent252+ .unwrap()
253- });253+ .initial_configure_sent
254- if !initial_configure_sent {254+ });
255- // NOTE: This should never fail as the initial configure is always255+ if !initial_configure_sent {
256- // allowed.256+ // NOTE: This should never fail as the initial configure is always
257- popup.send_configure().expect("initial configure failed");257+ // allowed.
258+ popup.send_configure().expect("initial configure failed");
259+ }
260+ }
261+ // Input method popups don't require a configure.
262+ PopupKind::InputMethod(_) => (),
258 }263 }
259 }264 }
260 }265 }