aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/event.rs
diff options
context:
space:
mode:
authorDavid Herberth <github@dav1d.de>2020-05-06 23:58:43 +0200
committerGitHub <noreply@github.com>2020-05-06 21:58:43 +0000
commitbecd7cf459c5420a4f77764dfe81d50b332af6f2 (patch)
tree6e959b6554c08b4479df32d24610b95b0fc57172 /alacritty/src/event.rs
parent81ce93574f62d4b117fdd79af65391f30316a457 (diff)
downloadr-alacritty-becd7cf459c5420a4f77764dfe81d50b332af6f2.tar.gz
r-alacritty-becd7cf459c5420a4f77764dfe81d50b332af6f2.tar.bz2
r-alacritty-becd7cf459c5420a4f77764dfe81d50b332af6f2.zip
Don't hide cursor on modifier press
Fixes #2761.
Diffstat (limited to 'alacritty/src/event.rs')
-rw-r--r--alacritty/src/event.rs6
1 files changed, 0 insertions, 6 deletions
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<N: Notify + OnResize> Processor<N> {
},
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, .. } => {