From dd8639b6cc5d635d2826a05b7449c2a10d4af4c3 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Thu, 3 Jan 2019 20:28:31 +0100 Subject: Launch URLs only when left-clicking This fixes #1903. --- src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit