aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Copeland <chris@chrisnc.net>2022-11-11 02:27:05 -0800
committerGitHub <noreply@github.com>2022-11-11 10:27:05 +0000
commit778558060243505d07b0850a115e3944862db5cd (patch)
tree92da6aff2d8f24785bea2ff74b5acc29a05c129a
parent0e418bc2f761617455cc58aaabc375055dfe4284 (diff)
downloadalacritty-778558060243505d07b0850a115e3944862db5cd.tar.gz
alacritty-778558060243505d07b0850a115e3944862db5cd.zip
Fix cursor visibility with focus change on macOS
Fixes #6452.
-rw-r--r--CHANGELOG.md1
-rw-r--r--alacritty/src/event.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7a3cfe0e..ba393d7e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -18,6 +18,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Underline on macOS always being at the bottom of the cell
- Crash with `OT-SVG` fonts on Linux/BSD
- Crash during text compose on old GNOME under Wayland
+- Mouse cursor staying hidden after window regains focus on macOS Ventura
## 0.11.0
diff --git a/alacritty/src/event.rs b/alacritty/src/event.rs
index e480e305..7cf77096 100644
--- a/alacritty/src/event.rs
+++ b/alacritty/src/event.rs
@@ -1213,8 +1213,6 @@ impl input::Processor<EventProxy, ActionContext<'_, Notifier, EventProxy>> {
if is_focused {
self.ctx.window().set_urgent(false);
- } else {
- self.ctx.window().set_mouse_visible(true);
}
self.ctx.update_cursor_blinking();