forge
Explore
Log in

Don't you dare go Hollow

af6485cd8c85665b15ef8d2c812da17604ca4e32Ivan MolodetskikhParent: f32a25e
src/dbus/gnome_shell_screenshot.rsmodified+0 -1
@@ -1,6 +1,5 @@
11 use std::path::PathBuf;
22
3-use smithay::reexports::calloop;
43 use zbus::dbus_interface;
54 use zbus::fdo::{self, RequestNameFlags};
65
src/dbus/mod.rsmodified+0 -1
@@ -1,4 +1,3 @@
1-use smithay::reexports::calloop;
21 use zbus::blocking::Connection;
32 use zbus::Interface;
43
src/dbus/mutter_screen_cast.rsmodified+0 -1
@@ -5,7 +5,6 @@ use std::sync::{Arc, Mutex};
55
66 use serde::Deserialize;
77 use smithay::output::Output;
8-use smithay::reexports::calloop;
98 use zbus::fdo::RequestNameFlags;
109 use zbus::zvariant::{DeserializeDict, OwnedObjectPath, SerializeDict, Type, Value};
1110 use zbus::{dbus_interface, fdo, InterfaceRef, ObjectServer, SignalContext};
src/handlers/mod.rsmodified+0 -1
@@ -14,7 +14,6 @@ use smithay::desktop::{PopupKind, PopupManager};
1414 use smithay::input::pointer::{CursorIcon, CursorImageStatus, PointerHandle};
1515 use smithay::input::{keyboard, Seat, SeatHandler, SeatState};
1616 use smithay::output::Output;
17-use smithay::reexports::input;
1817 use smithay::reexports::wayland_protocols::xdg::shell::server::xdg_toplevel;
1918 use smithay::reexports::wayland_server::protocol::wl_data_source::WlDataSource;
2019 use smithay::reexports::wayland_server::protocol::wl_output::WlOutput;
src/input.rsmodified+1 -2
@@ -17,7 +17,6 @@ use smithay::input::pointer::{
1717 GesturePinchBeginEvent, GesturePinchEndEvent, GesturePinchUpdateEvent, GestureSwipeBeginEvent,
1818 GestureSwipeEndEvent, GestureSwipeUpdateEvent, MotionEvent, RelativeMotionEvent,
1919 };
20-use smithay::reexports::input;
2120 use smithay::utils::{Logical, Point, SERIAL_COUNTER};
2221 use smithay::wayland::pointer_constraints::{with_pointer_constraint, PointerConstraint};
2322 use smithay::wayland::tablet_manager::{TabletDescriptor, TabletSeatTrait};
@@ -1639,7 +1638,7 @@ pub fn apply_libinput_settings(config: &niri_config::Input, device: &mut input::
16391638
16401639 #[cfg(test)]
16411640 mod tests {
1642- use niri_config::{Action, Bind, Binds, Key, Modifiers};
1641+ use niri_config::{Bind, Key};
16431642
16441643 use super::*;
16451644
src/layout/focus_ring.rsmodified+1 -1
@@ -1,7 +1,7 @@
11 use std::iter::zip;
22
33 use arrayvec::ArrayVec;
4-use niri_config::{self, GradientRelativeTo};
4+use niri_config::GradientRelativeTo;
55 use smithay::backend::renderer::element::solid::{SolidColorBuffer, SolidColorRenderElement};
66 use smithay::backend::renderer::element::Kind;
77 use smithay::utils::{Logical, Point, Rectangle, Scale, Size};
src/layout/mod.rsmodified+2 -2
@@ -34,7 +34,7 @@ use std::mem;
3434 use std::rc::Rc;
3535 use std::time::Duration;
3636
37-use niri_config::{self, CenterFocusedColumn, Config, Struts};
37+use niri_config::{CenterFocusedColumn, Config, Struts};
3838 use niri_ipc::SizeChange;
3939 use smithay::backend::renderer::element::solid::SolidColorRenderElement;
4040 use smithay::backend::renderer::element::surface::WaylandSurfaceRenderElement;
@@ -885,7 +885,7 @@ impl<W: LayoutElement> Layout<W> {
885885 }
886886
887887 let col = &ws.columns[ws.active_column_idx];
888- Some((&col.tiles[col.active_tile_idx].window(), &mon.output))
888+ Some((col.tiles[col.active_tile_idx].window(), &mon.output))
889889 }
890890
891891 pub fn windows_for_output(&self, output: &Output) -> impl Iterator<Item = &W> + '_ {
src/main.rsmodified+1 -1
@@ -21,7 +21,7 @@ use niri::utils::{cause_panic, version, IS_SYSTEMD_SERVICE};
2121 use niri_config::Config;
2222 use portable_atomic::Ordering;
2323 use sd_notify::NotifyState;
24-use smithay::reexports::calloop::{self, EventLoop};
24+use smithay::reexports::calloop::EventLoop;
2525 use smithay::reexports::wayland_server::Display;
2626 use tracing_subscriber::EnvFilter;
2727
src/niri.rsmodified+1 -2
@@ -41,9 +41,8 @@ use smithay::output::{self, Output};
4141 use smithay::reexports::calloop::generic::Generic;
4242 use smithay::reexports::calloop::timer::{TimeoutAction, Timer};
4343 use smithay::reexports::calloop::{
44- self, Idle, Interest, LoopHandle, LoopSignal, Mode, PostAction, RegistrationToken,
44+ Idle, Interest, LoopHandle, LoopSignal, Mode, PostAction, RegistrationToken,
4545 };
46-use smithay::reexports::input;
4746 use smithay::reexports::wayland_protocols::ext::session_lock::v1::server::ext_session_lock_v1::ExtSessionLockV1;
4847 use smithay::reexports::wayland_protocols::xdg::shell::server::xdg_toplevel::WmCapabilities;
4948 use smithay::reexports::wayland_protocols_misc::server_decoration as _server_decoration;
src/pw_utils.rsmodified+1 -1
@@ -29,7 +29,7 @@ use smithay::backend::allocator::Fourcc;
2929 use smithay::backend::drm::DrmDeviceFd;
3030 use smithay::output::Output;
3131 use smithay::reexports::calloop::generic::Generic;
32-use smithay::reexports::calloop::{self, Interest, LoopHandle, Mode, PostAction};
32+use smithay::reexports::calloop::{Interest, LoopHandle, Mode, PostAction};
3333 use smithay::reexports::gbm::Modifier;
3434 use smithay::utils::{Physical, Size};
3535 use zbus::SignalContext;