chore: cargo fmt
This commit is contained in:
parent
633ed14411
commit
c781ff6199
24 changed files with 192 additions and 172 deletions
|
|
@ -9,12 +9,12 @@ use crate::{
|
|||
use cctk::sctk::{
|
||||
delegate_touch,
|
||||
reexports::client::{
|
||||
protocol::{wl_surface::WlSurface, wl_touch::WlTouch},
|
||||
Connection, Proxy, QueueHandle,
|
||||
protocol::{wl_surface::WlSurface, wl_touch::WlTouch},
|
||||
},
|
||||
seat::touch::TouchHandler,
|
||||
};
|
||||
use iced_runtime::core::{touch, Point};
|
||||
use iced_runtime::core::{Point, touch};
|
||||
|
||||
impl TouchHandler for SctkState {
|
||||
fn down(
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
use crate::{
|
||||
event_loop::state::CommonSurface,
|
||||
platform_specific::wayland::{
|
||||
event_loop::state::receive_frame,
|
||||
handlers::SctkState,
|
||||
event_loop::state::receive_frame, handlers::SctkState,
|
||||
sctk_event::SctkEvent,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
use crate::platform_specific::wayland::{
|
||||
event_loop::state::{receive_frame, SctkState},
|
||||
event_loop::state::{SctkState, receive_frame},
|
||||
sctk_event::{LayerSurfaceEventVariant, SctkEvent},
|
||||
};
|
||||
use cctk::sctk::{
|
||||
delegate_layer,
|
||||
reexports::client::Proxy,
|
||||
shell::{
|
||||
wlr_layer::{Anchor, KeyboardInteractivity, LayerShellHandler},
|
||||
WaylandSurface,
|
||||
wlr_layer::{Anchor, KeyboardInteractivity, LayerShellHandler},
|
||||
},
|
||||
};
|
||||
use std::fmt::Debug;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
pub mod corner_radius;
|
||||
pub mod layer;
|
||||
pub mod xdg_popup;
|
||||
pub mod xdg_window;
|
||||
pub mod corner_radius;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
//! Handling of the wp-viewporter.
|
||||
|
||||
use cctk::sctk::reexports::client::Dispatch;
|
||||
use cctk::sctk::reexports::client::globals::{BindError, GlobalList};
|
||||
use cctk::sctk::reexports::client::protocol::wl_surface::WlSurface;
|
||||
use cctk::sctk::reexports::client::Dispatch;
|
||||
use cctk::sctk::reexports::client::{
|
||||
delegate_dispatch, Connection, Proxy, QueueHandle,
|
||||
Connection, Proxy, QueueHandle, delegate_dispatch,
|
||||
};
|
||||
use cctk::sctk::reexports::protocols::wp::viewporter::client::wp_viewport::WpViewport;
|
||||
use cctk::sctk::reexports::protocols::wp::viewporter::client::wp_viewporter::WpViewporter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue