mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-25 14:05:41 -05:00
Remove unused imports on Windows
This commit is contained in:
parent
b3afb97fcd
commit
3e5511a693
1 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,9 @@ use std::fmt;
|
||||||
#[cfg(not(any(target_os = "macos", windows)))]
|
#[cfg(not(any(target_os = "macos", windows)))]
|
||||||
use std::os::raw::c_ulong;
|
use std::os::raw::c_ulong;
|
||||||
|
|
||||||
use glutin::dpi::{LogicalPosition, LogicalSize, PhysicalPosition, PhysicalSize};
|
#[cfg(not(windows))]
|
||||||
|
use glutin::dpi::PhysicalPosition;
|
||||||
|
use glutin::dpi::{LogicalPosition, LogicalSize, PhysicalSize};
|
||||||
use glutin::event_loop::EventLoop;
|
use glutin::event_loop::EventLoop;
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
use glutin::platform::macos::{RequestUserAttentionType, WindowBuilderExtMacOS, WindowExtMacOS};
|
use glutin::platform::macos::{RequestUserAttentionType, WindowBuilderExtMacOS, WindowExtMacOS};
|
||||||
|
@ -36,6 +38,7 @@ use x11_dl::xlib::{Display as XDisplay, PropModeReplace, XErrorEvent, Xlib};
|
||||||
use alacritty_terminal::config::{Decorations, StartupMode, WindowConfig};
|
use alacritty_terminal::config::{Decorations, StartupMode, WindowConfig};
|
||||||
use alacritty_terminal::event::Event;
|
use alacritty_terminal::event::Event;
|
||||||
use alacritty_terminal::gl;
|
use alacritty_terminal::gl;
|
||||||
|
#[cfg(not(windows))]
|
||||||
use alacritty_terminal::term::{SizeInfo, Term};
|
use alacritty_terminal::term::{SizeInfo, Term};
|
||||||
|
|
||||||
use crate::config::Config;
|
use crate::config::Config;
|
||||||
|
|
Loading…
Reference in a new issue