forge
Explore
Log in

Don't you dare go Hollow

56cffa155b20eaeb5b3a5f3ad434493d700a43a6Ivan MolodetskikhParent: b54acf5
Cargo.lockmodified+37 -37
@@ -63,9 +63,9 @@ checksum = "fc7eb209b1518d6bb87b283c20095f5228ecda460da70b44f0802523dea6da04"
6363
6464 [[package]]
6565 name = "anstream"
66-version = "0.5.0"
66+version = "0.6.4"
6767 source = "registry+https://github.com/rust-lang/crates.io-index"
68-checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c"
68+checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44"
6969 dependencies = [
7070 "anstyle",
7171 "anstyle-parse",
@@ -77,15 +77,15 @@ dependencies = [
7777
7878 [[package]]
7979 name = "anstyle"
80-version = "1.0.3"
80+version = "1.0.4"
8181 source = "registry+https://github.com/rust-lang/crates.io-index"
82-checksum = "b84bf0a05bbb2a83e5eb6fa36bb6e87baa08193c35ff52bbf6b38d8af2890e46"
82+checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87"
8383
8484 [[package]]
8585 name = "anstyle-parse"
86-version = "0.2.1"
86+version = "0.2.2"
8787 source = "registry+https://github.com/rust-lang/crates.io-index"
88-checksum = "938874ff5980b03a87c5524b3ae5b59cf99b1d6bc836848df7bc5ada9643c333"
88+checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140"
8989 dependencies = [
9090 "utf8parse",
9191 ]
@@ -101,9 +101,9 @@ dependencies = [
101101
102102 [[package]]
103103 name = "anstyle-wincon"
104-version = "2.1.0"
104+version = "3.0.1"
105105 source = "registry+https://github.com/rust-lang/crates.io-index"
106-checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd"
106+checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628"
107107 dependencies = [
108108 "anstyle",
109109 "windows-sys 0.48.0",
@@ -153,9 +153,9 @@ dependencies = [
153153
154154 [[package]]
155155 name = "async-executor"
156-version = "1.5.3"
156+version = "1.5.4"
157157 source = "registry+https://github.com/rust-lang/crates.io-index"
158-checksum = "78f2db9467baa66a700abce2a18c5ad793f6f83310aca1284796fc3921d113fd"
158+checksum = "2c1da3ae8dabd9c00f453a329dfe1fb28da3c0a72e2478cdcd93171740c20499"
159159 dependencies = [
160160 "async-lock",
161161 "async-task",
@@ -191,7 +191,7 @@ dependencies = [
191191 "log",
192192 "parking",
193193 "polling 2.8.0",
194- "rustix 0.37.23",
194+ "rustix 0.37.24",
195195 "slab",
196196 "socket2",
197197 "waker-fn",
@@ -219,7 +219,7 @@ dependencies = [
219219 "cfg-if",
220220 "event-listener 3.0.0",
221221 "futures-lite",
222- "rustix 0.38.14",
222+ "rustix 0.38.15",
223223 "windows-sys 0.48.0",
224224 ]
225225
@@ -236,9 +236,9 @@ dependencies = [
236236
237237 [[package]]
238238 name = "async-signal"
239-version = "0.2.1"
239+version = "0.2.2"
240240 source = "registry+https://github.com/rust-lang/crates.io-index"
241-checksum = "4af361a844928cb7d36590d406709473a1b574f443094422ef166daa3b493208"
241+checksum = "c99f3cb3f9ff89f7d718fbb942c9eb91bedff12e396adf09a622dfe7ffec2bc2"
242242 dependencies = [
243243 "async-io",
244244 "async-lock",
@@ -458,7 +458,7 @@ dependencies = [
458458 "bitflags 2.4.0",
459459 "log",
460460 "polling 3.1.0",
461- "rustix 0.38.14",
461+ "rustix 0.38.15",
462462 "slab",
463463 "thiserror",
464464 ]
@@ -536,9 +536,9 @@ dependencies = [
536536
537537 [[package]]
538538 name = "clap"
539-version = "4.4.5"
539+version = "4.4.6"
540540 source = "registry+https://github.com/rust-lang/crates.io-index"
541-checksum = "824956d0dca8334758a5b7f7e50518d66ea319330cbceedcf76905c2f6ab30e3"
541+checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956"
542542 dependencies = [
543543 "clap_builder",
544544 "clap_derive",
@@ -546,9 +546,9 @@ dependencies = [
546546
547547 [[package]]
548548 name = "clap_builder"
549-version = "4.4.5"
549+version = "4.4.6"
550550 source = "registry+https://github.com/rust-lang/crates.io-index"
551-checksum = "122ec64120a49b4563ccaedcbea7818d069ed8e9aa6d829b82d8a4128936b2ab"
551+checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45"
552552 dependencies = [
553553 "anstream",
554554 "anstyle",
@@ -1064,9 +1064,9 @@ dependencies = [
10641064
10651065 [[package]]
10661066 name = "hashbrown"
1067-version = "0.14.0"
1067+version = "0.14.1"
10681068 source = "registry+https://github.com/rust-lang/crates.io-index"
1069-checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a"
1069+checksum = "7dfda62a12f55daeae5015f81b0baea145391cb4520f86c248fc615d72640d12"
10701070
10711071 [[package]]
10721072 name = "heck"
@@ -1105,12 +1105,12 @@ dependencies = [
11051105
11061106 [[package]]
11071107 name = "indexmap"
1108-version = "2.0.0"
1108+version = "2.0.2"
11091109 source = "registry+https://github.com/rust-lang/crates.io-index"
1110-checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d"
1110+checksum = "8adf3ddd720272c6ea8bf59463c04e0f93d0bbf7c5439b691bca2987e0270897"
11111111 dependencies = [
11121112 "equivalent",
1113- "hashbrown 0.14.0",
1113+ "hashbrown 0.14.1",
11141114 ]
11151115
11161116 [[package]]
@@ -1171,7 +1171,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
11711171 checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b"
11721172 dependencies = [
11731173 "hermit-abi",
1174- "rustix 0.38.14",
1174+ "rustix 0.38.15",
11751175 "windows-sys 0.48.0",
11761176 ]
11771177
@@ -1923,7 +1923,7 @@ dependencies = [
19231923 "cfg-if",
19241924 "concurrent-queue",
19251925 "pin-project-lite",
1926- "rustix 0.38.14",
1926+ "rustix 0.38.15",
19271927 "tracing",
19281928 "windows-sys 0.48.0",
19291929 ]
@@ -2190,9 +2190,9 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
21902190
21912191 [[package]]
21922192 name = "rustix"
2193-version = "0.37.23"
2193+version = "0.37.24"
21942194 source = "registry+https://github.com/rust-lang/crates.io-index"
2195-checksum = "4d69718bf81c6127a49dc64e44a742e8bb9213c0ff8869a22c308f84c1d4ab06"
2195+checksum = "4279d76516df406a8bd37e7dff53fd37d1a093f997a3c34a5c21658c126db06d"
21962196 dependencies = [
21972197 "bitflags 1.3.2",
21982198 "errno",
@@ -2204,9 +2204,9 @@ dependencies = [
22042204
22052205 [[package]]
22062206 name = "rustix"
2207-version = "0.38.14"
2207+version = "0.38.15"
22082208 source = "registry+https://github.com/rust-lang/crates.io-index"
2209-checksum = "747c788e9ce8e92b12cd485c49ddf90723550b654b32508f979b71a7b1ecda4f"
2209+checksum = "d2f9da0cbd88f9f09e7814e388301c8414c51c62aa6ce1e4b5c551d49d96e531"
22102210 dependencies = [
22112211 "bitflags 2.4.0",
22122212 "errno",
@@ -2304,9 +2304,9 @@ dependencies = [
23042304
23052305 [[package]]
23062306 name = "sharded-slab"
2307-version = "0.1.4"
2307+version = "0.1.6"
23082308 source = "registry+https://github.com/rust-lang/crates.io-index"
2309-checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31"
2309+checksum = "c1b21f559e07218024e7e9f90f96f601825397de0e25420135f7f952453fed0b"
23102310 dependencies = [
23112311 "lazy_static",
23122312 ]
@@ -2365,7 +2365,7 @@ checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c"
23652365 [[package]]
23662366 name = "smithay"
23672367 version = "0.3.0"
2368-source = "git+https://github.com/Smithay/smithay.git#509030a151ad440f8406229f32d674811efd9007"
2368+source = "git+https://github.com/Smithay/smithay.git#74ef59a3f8b6a1f86a74388590f2f852040354e4"
23692369 dependencies = [
23702370 "appendlist",
23712371 "bitflags 2.4.0",
@@ -2428,7 +2428,7 @@ dependencies = [
24282428 [[package]]
24292429 name = "smithay-drm-extras"
24302430 version = "0.1.0"
2431-source = "git+https://github.com/Smithay/smithay.git#509030a151ad440f8406229f32d674811efd9007"
2431+source = "git+https://github.com/Smithay/smithay.git#74ef59a3f8b6a1f86a74388590f2f852040354e4"
24322432 dependencies = [
24332433 "drm",
24342434 "edid-rs",
@@ -2534,7 +2534,7 @@ dependencies = [
25342534 "cfg-if",
25352535 "fastrand 2.0.1",
25362536 "redox_syscall 0.3.5",
2537- "rustix 0.38.14",
2537+ "rustix 0.38.15",
25382538 "windows-sys 0.48.0",
25392539 ]
25402540
@@ -3257,9 +3257,9 @@ checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
32573257
32583258 [[package]]
32593259 name = "winit"
3260-version = "0.28.6"
3260+version = "0.28.7"
32613261 source = "registry+https://github.com/rust-lang/crates.io-index"
3262-checksum = "866db3f712fffba75d31bf0cdecf357c8aeafd158c5b7ab51dba2a2b2d47f196"
3262+checksum = "9596d90b45384f5281384ab204224876e8e8bf7d58366d9b795ad99aa9894b94"
32633263 dependencies = [
32643264 "android-activity",
32653265 "bitflags 1.3.2",
src/handlers/xdg_shell.rsmodified+19 -14
@@ -241,20 +241,25 @@ impl State {
241241 self.niri.popups.commit(surface);
242242
243243 if let Some(popup) = self.niri.popups.find_popup(surface) {
244- let PopupKind::Xdg(ref popup) = popup;
245- let initial_configure_sent = with_states(surface, |states| {
246- states
247- .data_map
248- .get::<XdgPopupSurfaceData>()
249- .unwrap()
250- .lock()
251- .unwrap()
252- .initial_configure_sent
253- });
254- if !initial_configure_sent {
255- // NOTE: This should never fail as the initial configure is always
256- // allowed.
257- popup.send_configure().expect("initial configure failed");
244+ match popup {
245+ PopupKind::Xdg(ref popup) => {
246+ let initial_configure_sent = with_states(surface, |states| {
247+ states
248+ .data_map
249+ .get::<XdgPopupSurfaceData>()
250+ .unwrap()
251+ .lock()
252+ .unwrap()
253+ .initial_configure_sent
254+ });
255+ if !initial_configure_sent {
256+ // NOTE: This should never fail as the initial configure is always
257+ // allowed.
258+ popup.send_configure().expect("initial configure failed");
259+ }
260+ }
261+ // Input method popups don't require a configure.
262+ PopupKind::InputMethod(_) => (),
258263 }
259264 }
260265 }