From efae2cc80cb231081ce393fb922e6dcfc458260b Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Sun, 30 Jan 2022 09:36:35 +0300 Subject: Log used display server on Linux/BSD This also fixes a bug where the welcome log message wasn't logged. --- alacritty/src/display/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'alacritty/src/display/mod.rs') diff --git a/alacritty/src/display/mod.rs b/alacritty/src/display/mod.rs index f2bf2ad7..d9ec8593 100644 --- a/alacritty/src/display/mod.rs +++ b/alacritty/src/display/mod.rs @@ -12,7 +12,7 @@ use std::{f64, mem}; use glutin::dpi::PhysicalSize; use glutin::event::ModifiersState; use glutin::event_loop::EventLoopWindowTarget; -#[cfg(not(any(target_os = "macos", windows)))] +#[cfg(all(feature = "x11", not(any(target_os = "macos", windows))))] use glutin::platform::unix::EventLoopWindowTargetExtUnix; use glutin::window::CursorIcon; use log::{debug, info}; -- cgit