diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2022-01-30 09:36:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-30 06:36:35 +0000 |
commit | efae2cc80cb231081ce393fb922e6dcfc458260b (patch) | |
tree | 368b5757beac3915d615a29e1311bc8399321d91 /alacritty/src/display/mod.rs | |
parent | f6651a997bd2af3f116d40d2a60b94c7508e00a1 (diff) | |
download | r-alacritty-efae2cc80cb231081ce393fb922e6dcfc458260b.tar.gz r-alacritty-efae2cc80cb231081ce393fb922e6dcfc458260b.tar.bz2 r-alacritty-efae2cc80cb231081ce393fb922e6dcfc458260b.zip |
Log used display server on Linux/BSD
This also fixes a bug where the welcome log message wasn't logged.
Diffstat (limited to 'alacritty/src/display/mod.rs')
-rw-r--r-- | alacritty/src/display/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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}; |