feat: overlap notify
This commit is contained in:
parent
6e91eabf4c
commit
301892aaa5
11 changed files with 441 additions and 51 deletions
21
core/src/event/wayland/overlap_notify.rs
Normal file
21
core/src/event/wayland/overlap_notify.rs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
use cctk::{sctk::shell::wlr_layer::Layer, wayland_protocols::ext::foreign_toplevel_list::v1::client::ext_foreign_toplevel_handle_v1::ExtForeignToplevelHandleV1};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum OverlapNotifyEvent {
|
||||
OverlapToplevelAdd {
|
||||
toplevel: ExtForeignToplevelHandleV1,
|
||||
logical_rect: crate::Rectangle,
|
||||
},
|
||||
OverlapToplevelRemove {
|
||||
toplevel: ExtForeignToplevelHandleV1,
|
||||
},
|
||||
OverlapLayerAdd {
|
||||
identifier: String,
|
||||
exclusive: u32,
|
||||
layer: Option<Layer>,
|
||||
logical_rect: crate::Rectangle,
|
||||
},
|
||||
OverlapLayerRemove {
|
||||
identifier: String,
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue