From becd7cf459c5420a4f77764dfe81d50b332af6f2 Mon Sep 17 00:00:00 2001 From: David Herberth Date: Wed, 6 May 2020 23:58:43 +0200 Subject: Don't hide cursor on modifier press Fixes #2761. --- alacritty/src/event.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'alacritty/src/event.rs') diff --git a/alacritty/src/event.rs b/alacritty/src/event.rs index 88d074bb..9a625a91 100644 --- a/alacritty/src/event.rs +++ b/alacritty/src/event.rs @@ -590,12 +590,6 @@ impl Processor { }, WindowEvent::KeyboardInput { input, is_synthetic: false, .. } => { processor.key_input(input); - if input.state == ElementState::Pressed { - // Hide cursor while typing. - if processor.ctx.config.ui_config.mouse.hide_when_typing { - processor.ctx.window.set_mouse_visible(false); - } - } }, WindowEvent::ReceivedCharacter(c) => processor.received_char(c), WindowEvent::MouseInput { state, button, .. } => { -- cgit