From 504b38cbd14c58b518d5f91dc1bf27311c5fe507 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Fri, 16 Apr 2021 20:23:54 +0000 Subject: Fix mouse reports The patch 9cb5562 has introduced a regression which would abort if a mouse report's line was bigger than zero, which is the exact opposite of when a mouse report is required. Fixes #4980. --- alacritty/src/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty/src/input.rs') diff --git a/alacritty/src/input.rs b/alacritty/src/input.rs index 0fd2b224..977a6e5d 100644 --- a/alacritty/src/input.rs +++ b/alacritty/src/input.rs @@ -421,7 +421,7 @@ impl> Processor { let point = self.ctx.mouse().point(&self.ctx.size_info(), display_offset); // Assure the mouse point is not in the scrollback. - if point.line >= 0 { + if point.line < 0 { return; } -- cgit