mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2024-12-26 21:58:10 +01:00
Fix compiler errors
This commit is contained in:
parent
59c33075cd
commit
4dbf1a313b
3 changed files with 5 additions and 12 deletions
|
@ -12,10 +12,7 @@ use smithay::{
|
|||
},
|
||||
winit::{WinitEvent, WinitGraphicsBackend},
|
||||
},
|
||||
desktop::{
|
||||
layer_map_for_output,
|
||||
utils::{send_frames_surface_tree, surface_primary_scanout_output},
|
||||
},
|
||||
desktop::{layer_map_for_output, utils::send_frames_surface_tree},
|
||||
input::pointer::CursorImageStatus,
|
||||
output::{Output, Subpixel},
|
||||
reexports::{
|
||||
|
@ -23,10 +20,7 @@ use smithay::{
|
|||
timer::{TimeoutAction, Timer},
|
||||
EventLoop,
|
||||
},
|
||||
wayland_protocols::{
|
||||
wp::presentation_time::server::wp_presentation_feedback,
|
||||
xdg::shell::server::xdg_toplevel,
|
||||
},
|
||||
wayland_protocols::wp::presentation_time::server::wp_presentation_feedback,
|
||||
wayland_server::{protocol::wl_surface::WlSurface, Display},
|
||||
winit::platform::pump_events::PumpStatus,
|
||||
},
|
||||
|
@ -36,8 +30,7 @@ use smithay::{
|
|||
|
||||
use crate::{
|
||||
render::{pointer::PointerElement, take_presentation_feedback},
|
||||
state::{CalloopData, State, WithState},
|
||||
window::WindowElement,
|
||||
state::{CalloopData, State},
|
||||
};
|
||||
|
||||
use super::{Backend, BackendData};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
pub mod blocker;
|
||||
pub mod rules;
|
||||
|
||||
use std::{cell::RefCell, sync::atomic::AtomicU32, time::Duration};
|
||||
use std::{cell::RefCell, time::Duration};
|
||||
|
||||
use smithay::{
|
||||
backend::input::KeyState,
|
||||
|
|
|
@ -51,7 +51,7 @@ impl TiledWindowBlocker {
|
|||
.unwrap_or(false)
|
||||
})
|
||||
}
|
||||
WindowElement::X11(_) => true,
|
||||
WindowElement::X11(_) | WindowElement::X11OverrideRedirect(_) => true,
|
||||
});
|
||||
|
||||
tracing::debug!(
|
||||
|
|
Loading…
Reference in a new issue