diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2023-11-13 17:10:47 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-13 17:10:47 +0400 |
commit | bd2dfa7a5586d418e7dae5aac3aa904668feadf1 (patch) | |
tree | c089fb5221e4b9267f6d3200bca732c4b37cc1d7 /alacritty/src/display | |
parent | dc46d41ff945d7158d9bb1638afc124cf650fa61 (diff) | |
download | r-alacritty-bd2dfa7a5586d418e7dae5aac3aa904668feadf1.tar.gz r-alacritty-bd2dfa7a5586d418e7dae5aac3aa904668feadf1.tar.bz2 r-alacritty-bd2dfa7a5586d418e7dae5aac3aa904668feadf1.zip |
Fix visual bell getting stuck on macOS
Fixes #7325.
Diffstat (limited to 'alacritty/src/display')
-rw-r--r-- | alacritty/src/display/window.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/alacritty/src/display/window.rs b/alacritty/src/display/window.rs index f5128e75..7dc6375e 100644 --- a/alacritty/src/display/window.rs +++ b/alacritty/src/display/window.rs @@ -235,9 +235,7 @@ impl Window { #[inline] pub fn request_redraw(&mut self) { - // No need to request a frame when we don't have one. The next `Frame` event will check the - // `dirty` flag on the display and submit a redraw request. - if self.has_frame && !self.requested_redraw { + if !self.requested_redraw { self.requested_redraw = true; self.window.request_redraw(); } |