summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2019-01-03 20:28:31 +0100
committerChristian Duerr <chrisduerr@users.noreply.github.com>2019-01-05 20:49:39 +0000
commitdd8639b6cc5d635d2826a05b7449c2a10d4af4c3 (patch)
tree065b00fef55f9dcfeb8b04db1b54743f0c9916a7 /src
parente4dc43e87c5330c1f22dc2e7570d7e66881ef647 (diff)
Launch URLs only when left-clicking
This fixes #1903.
Diffstat (limited to 'src')
-rw-r--r--src/input.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.rs b/src/input.rs
index 2e949d64..8b3bcbed 100644
--- a/src/input.rs
+++ b/src/input.rs
@@ -520,7 +520,7 @@ impl<'a, A: ActionContext + 'a> Processor<'a, A> {
MouseButton::Other(_) => (),
};
return;
- } else {
+ } else if button == MouseButton::Left {
self.launch_url(modifiers);
}