diff options
author | Christian Duerr <contact@christianduerr.com> | 2020-10-12 22:13:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-12 22:13:38 +0000 |
commit | b2629192ab9926b095d0abe85fedbc353e5e348c (patch) | |
tree | 549da42a34d56143ebab4f177efd79caf20fb507 /alacritty/src/display.rs | |
parent | 721f789b5f98ab5c47e6e817c3c2228636ca0a1a (diff) | |
download | r-alacritty-b2629192ab9926b095d0abe85fedbc353e5e348c.tar.gz r-alacritty-b2629192ab9926b095d0abe85fedbc353e5e348c.tar.bz2 r-alacritty-b2629192ab9926b095d0abe85fedbc353e5e348c.zip |
Fix incorrect X11 feature check
See https://github.com/alacritty/alacritty/commit/721f789b5f98ab5c47e6e817c3c2228636ca0a1a#r43183826.
Diffstat (limited to 'alacritty/src/display.rs')
-rw-r--r-- | alacritty/src/display.rs | 2 |
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 |