Remove unneeded field of DragSurface

This commit is contained in:
Ian Douglas Scott 2025-01-24 14:41:36 -08:00
parent 207e7b2ff3
commit 6838bd60be
3 changed files with 6 additions and 19 deletions

View file

@ -20,14 +20,8 @@ static TOPLEVEL_MIME: LazyLock<String> =
#[derive(Clone, Debug)]
pub enum DragSurface {
#[allow(dead_code)]
Workspace {
handle: ZcosmicWorkspaceHandleV1,
output: wl_output::WlOutput,
},
Toplevel {
handle: ZcosmicToplevelHandleV1,
output: wl_output::WlOutput,
},
Workspace(ZcosmicWorkspaceHandleV1),
Toplevel(ZcosmicToplevelHandleV1),
}
// TODO store protocol object id?