diff options
author | Christian Duerr <contact@christianduerr.com> | 2019-01-03 20:28:31 +0100 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-01-05 20:49:39 +0000 |
commit | dd8639b6cc5d635d2826a05b7449c2a10d4af4c3 (patch) | |
tree | 065b00fef55f9dcfeb8b04db1b54743f0c9916a7 /src | |
parent | e4dc43e87c5330c1f22dc2e7570d7e66881ef647 (diff) | |
download | alacritty-dd8639b6cc5d635d2826a05b7449c2a10d4af4c3.tar.gz alacritty-dd8639b6cc5d635d2826a05b7449c2a10d4af4c3.zip |
Launch URLs only when left-clicking
This fixes #1903.
Diffstat (limited to 'src')
-rw-r--r-- | src/input.rs | 2 |
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); } |