aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/display/window.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src/display/window.rs')
-rw-r--r--alacritty/src/display/window.rs4
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();
}