Fix compiler errors

This commit is contained in:
Ottatop 2023-12-16 21:36:37 -06:00 committed by Ottatop
parent 59c33075cd
commit 4dbf1a313b
3 changed files with 5 additions and 12 deletions

View file

@ -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};

View file

@ -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,

View file

@ -51,7 +51,7 @@ impl TiledWindowBlocker {
.unwrap_or(false)
})
}
WindowElement::X11(_) => true,
WindowElement::X11(_) | WindowElement::X11OverrideRedirect(_) => true,
});
tracing::debug!(