2024-11-26 16:09:31 -05:00
|
|
|
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,
|
2024-11-27 11:31:11 -05:00
|
|
|
namespace: String,
|
2024-11-26 16:09:31 -05:00
|
|
|
exclusive: u32,
|
|
|
|
|
layer: Option<Layer>,
|
|
|
|
|
logical_rect: crate::Rectangle,
|
|
|
|
|
},
|
|
|
|
|
OverlapLayerRemove {
|
|
|
|
|
identifier: String,
|
|
|
|
|
},
|
|
|
|
|
}
|