aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src/event.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-10-12 22:13:38 +0000
committerGitHub <noreply@github.com>2020-10-12 22:13:38 +0000
commitb2629192ab9926b095d0abe85fedbc353e5e348c (patch)
tree549da42a34d56143ebab4f177efd79caf20fb507 /alacritty/src/event.rs
parent721f789b5f98ab5c47e6e817c3c2228636ca0a1a (diff)
downloadr-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/event.rs')
-rw-r--r--alacritty/src/event.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/event.rs b/alacritty/src/event.rs
index d16ffde6..5da2a939 100644
--- a/alacritty/src/event.rs
+++ b/alacritty/src/event.rs
@@ -767,7 +767,7 @@ impl<N: Notify + OnResize> Processor<N> {
/// Return `true` if `event_queue` is empty, `false` otherwise.
#[inline]
- #[cfg(any(target_os = "macos", windows, not(feature = "wayland")))]
+ #[cfg(any(not(feature = "wayland"), target_os = "macos", windows))]
fn event_queue_empty(&mut self) -> bool {
self.event_queue.is_empty()
}