aboutsummaryrefslogtreecommitdiff
path: root/src/client/shell/surface_patch.rs
diff options
context:
space:
mode:
authorCan Celik <ogulcancelik@gmail.com>2026-09-13 23:05:30 +0300
committerGitHub <noreply@github.com>2026-09-13 23:05:30 +0300
commitf8e59221cbe5117f8f691a36affa374f5a986a9f (patch)
tree3b2792683eff251b061fbbad7343ecffafe91aab /src/client/shell/surface_patch.rs
parent59167658455442ffd2cd5b72a0fa81bcc4bcdf9e (diff)
feat: add ctrl-hover highlighting and fix wrapped links (#4074)
refs #1282
Diffstat (limited to 'src/client/shell/surface_patch.rs')
-rw-r--r--src/client/shell/surface_patch.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/shell/surface_patch.rs b/src/client/shell/surface_patch.rs
index 784fbcd8..87f947fa 100644
--- a/src/client/shell/surface_patch.rs
+++ b/src/client/shell/surface_patch.rs
@@ -72,6 +72,8 @@ fn fast_path_blocker(
Some("client_surface_patch.fallback.notification")
} else if state.copy_feedback.is_some() {
Some("client_surface_patch.fallback.copy_feedback")
+ } else if state.link_hover_blocks_patch(patch) {
+ Some("client_surface_patch.fallback.link_hover")
} else if state.selection.is_some() {
Some("client_surface_patch.fallback.selection")
} else if state.copy_mode.is_some() {
@@ -240,6 +242,7 @@ impl ClientShellState {
}
}
}
+ self.invalidate_link_hover();
self.reconcile_input_source();
} else {
let mut next = current.clone();