Skip to content

Commit

Permalink
winit/wayland: Update for toplevel-info cctk changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ids1024 committed Feb 12, 2025
1 parent 82b87f9 commit 55ad259
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pulldown-cmark = "0.11"
qrcode = { version = "0.13", default-features = false }
raw-window-handle = "0.6"
rustc-hash = "2.0"
cctk = { git = "https://github.com/pop-os/cosmic-protocols", package = "cosmic-client-toolkit", rev = "d218c76" }
cctk = { git = "https://github.com/pop-os/cosmic-protocols", package = "cosmic-client-toolkit", rev = "178eb0b" }
smol = "1.0"
smol_str = "0.2"
softbuffer = { git = "https://github.com/pop-os/softbuffer", tag = "cosmic-4.0" }
Expand Down
8 changes: 4 additions & 4 deletions winit/src/platform_specific/wayland/handlers/toplevel.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
use cctk::{
cosmic_protocols::{
toplevel_info::v1::client::zcosmic_toplevel_handle_v1,
toplevel_management::v1::client::zcosmic_toplevel_manager_v1,
},
toplevel_info::{ToplevelInfoHandler, ToplevelInfoState},
toplevel_management::ToplevelManagerHandler,
wayland_client::{self, WEnum},
};
use wayland_client::{Connection, QueueHandle};
use wayland_protocols::ext::foreign_toplevel_list::v1::client::ext_foreign_toplevel_handle_v1;

use crate::event_loop::state::SctkState;

Expand Down Expand Up @@ -39,7 +39,7 @@ impl ToplevelInfoHandler for SctkState {
&mut self,
_conn: &Connection,
_qh: &QueueHandle<Self>,
_toplevel: &zcosmic_toplevel_handle_v1::ZcosmicToplevelHandleV1,
_toplevel: &ext_foreign_toplevel_handle_v1::ExtForeignToplevelHandleV1,
) {
// TODO
}
Expand All @@ -48,7 +48,7 @@ impl ToplevelInfoHandler for SctkState {
&mut self,
_conn: &Connection,
_qh: &QueueHandle<Self>,
_toplevel: &zcosmic_toplevel_handle_v1::ZcosmicToplevelHandleV1,
_toplevel: &ext_foreign_toplevel_handle_v1::ExtForeignToplevelHandleV1,
) {
// TODO
}
Expand All @@ -57,7 +57,7 @@ impl ToplevelInfoHandler for SctkState {
&mut self,
_conn: &Connection,
_qh: &QueueHandle<Self>,
_toplevel: &zcosmic_toplevel_handle_v1::ZcosmicToplevelHandleV1,
_toplevel: &ext_foreign_toplevel_handle_v1::ExtForeignToplevelHandleV1,
) {
// TODO
}
Expand Down

0 comments on commit 55ad259

Please sign in to comment.