aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src/display.rs')
-rw-r--r--alacritty/src/display.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/display.rs b/alacritty/src/display.rs
index a4cf5cc5..0c5948fe 100644
--- a/alacritty/src/display.rs
+++ b/alacritty/src/display.rs
@@ -590,7 +590,7 @@ impl Display {
self.window.swap_buffers();
- #[cfg(all(feature = "wayland", not(any(target_os = "macos", windows))))]
+ #[cfg(all(feature = "x11", not(any(target_os = "macos", windows))))]
if self.is_x11 {
// On X11 `swap_buffers` does not block for vsync. However the next OpenGl command
// will block to synchronize (this is `glClear` in Alacritty), which causes a