Update for toplevel-info cctk changes
This commit is contained in:
parent
e283cfe456
commit
4acd62abb0
9 changed files with 90 additions and 68 deletions
|
|
@ -6,7 +6,7 @@ use cosmic::{
|
|||
};
|
||||
use std::{borrow::Cow, sync::LazyLock};
|
||||
|
||||
use crate::backend::{ZcosmicToplevelHandleV1, ZcosmicWorkspaceHandleV1};
|
||||
use crate::backend::{ExtForeignToplevelHandleV1, ZcosmicWorkspaceHandleV1};
|
||||
|
||||
// Include `pid` in mime. Want to drag between our surfaces, but not another
|
||||
// process, if we use Wayland object ids.
|
||||
|
|
@ -20,7 +20,7 @@ static TOPLEVEL_MIME: LazyLock<String> =
|
|||
pub enum DragSurface {
|
||||
#[allow(dead_code)]
|
||||
Workspace(ZcosmicWorkspaceHandleV1),
|
||||
Toplevel(ZcosmicToplevelHandleV1),
|
||||
Toplevel(ExtForeignToplevelHandleV1),
|
||||
}
|
||||
|
||||
// TODO store protocol object id?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue