Skip to content

Commit

Permalink
chore: code tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Aug 7, 2024
1 parent 5857735 commit 52ba5e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion iced_layershell/src/multi_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,11 @@ where
let Some(id) = ev.current_surface_id() else {
continue;
};
let popup_settings = NewPopUpSettings {size, position,id};
let popup_settings = NewPopUpSettings {
size,
position,
id
};
return ReturnData::NewPopUp((
popup_settings,
Some(info),
Expand Down
3 changes: 1 addition & 2 deletions layershellev/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ use wayland_client::{
};

use sctk::reexports::{calloop::EventLoop, calloop_wayland_source::WaylandSource};
use wayland_protocols::xdg::shell::client::xdg_surface;

use std::time::Duration;

Expand All @@ -163,7 +162,7 @@ use wayland_protocols_wlr::layer_shell::v1::client::{
use wayland_protocols::xdg::shell::client::{
xdg_popup::{self, XdgPopup},
xdg_positioner::XdgPositioner,
xdg_surface::XdgSurface,
xdg_surface::{self, XdgSurface},
xdg_wm_base::XdgWmBase,
};

Expand Down

0 comments on commit 52ba5e1

Please sign in to comment.