From 16b4c5372ba0de85fa433383387d97d276dac130 Mon Sep 17 00:00:00 2001 From: Lionel DARNIS Date: Thu, 24 Sep 2026 20:46:47 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20complete=20le=20merge=201.9.0=20?= =?UTF-8?q?=E2=80=94=20roxmltree=20(detection=20SVG=20amont)=20et=20is=5Fs?= =?UTF-8?q?electing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit checkout --ours sur Cargo.toml avait aussi ecarte l'ajout amont hors zone de conflit ; is_selecting, prefixe _ par le fork, est de nouveau lu en 1.9. Co-Authored-By: Claude Opus 5.5 (1M context) --- Cargo.toml | 1 + src/widget/text_input/input.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 07b73c19..23ceccb3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -176,6 +176,7 @@ zbus = { workspace = true, optional = true } float-cmp = "0.10.0" ron = { workspace = true, optional = true } enumflags2 = "0.7.12" +roxmltree = "0.20" # Enable DBus feature on Linux targets [target.'cfg(all(unix, not(any(target_os = "redox", target_family = "wasm", target_os = "android", target_vendor = "apple"))))'.dependencies] diff --git a/src/widget/text_input/input.rs b/src/widget/text_input/input.rs index c9b0c58e..34338e50 100644 --- a/src/widget/text_input/input.rs +++ b/src/widget/text_input/input.rs @@ -2752,7 +2752,7 @@ pub fn draw<'a, Message>( let handling_dnd_offer = !matches!(state.dnd_offer, DndOfferState::None); #[cfg(not(wayland_platform))] let handling_dnd_offer = false; - let (cursors, offset, _is_selecting) = if let Some(focus) = + let (cursors, offset, is_selecting) = if let Some(focus) = state.is_focused.filter(|f| f.focused).or_else(|| { let now = Instant::now(); handling_dnd_offer.then_some(Focus {