aboutsummaryrefslogtreecommitdiff
path: root/src/client/shell/mouse.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/shell/mouse.rs')
-rw-r--r--src/client/shell/mouse.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/shell/mouse.rs b/src/client/shell/mouse.rs
index 912e81ed..7b4c0cb2 100644
--- a/src/client/shell/mouse.rs
+++ b/src/client/shell/mouse.rs
@@ -123,8 +123,7 @@ impl ClientShellState {
Ok(_) => {
self.pane_scroll_queued.remove(&pane_id);
self.pane_scroll_targets.remove(&pane_id);
- self.endpoint_error =
- Some("endpoint returned an unexpected pane-scroll result".to_owned());
+ self.set_endpoint_error("endpoint returned an unexpected pane-scroll result");
true
}
Err(_) => {