1
0
Fork 0
forked from wry/wry

wayland: implement jay-tray-v1

This commit is contained in:
Julian Orth 2024-10-17 16:05:19 +02:00
parent 18bddbc987
commit 8c3cd97ae3
28 changed files with 979 additions and 43 deletions

View file

@ -13,7 +13,7 @@ use {
wl_pointer::PendingScroll,
Dnd, NodeSeatState, WlSeatGlobal,
},
wl_surface::WlSurface,
wl_surface::{tray::TrayItemId, WlSurface},
},
rect::Rect,
renderer::Renderer,
@ -178,6 +178,10 @@ pub trait Node: 'static {
None
}
fn node_tray_item(&self) -> Option<TrayItemId> {
None
}
// EVENT HANDLERS
fn node_on_key(