feat(tray): 拦截托盘图标的 unmap/destroy 事件并移除图标

This commit is contained in:
2026-07-28 03:35:08 +08:00
parent 612c2367ca
commit 583b1fa382
3 changed files with 68 additions and 0 deletions

View File

@@ -34,3 +34,11 @@ bool tray_handle_property_notify(
backend_t *backend,
const xcb_property_notify_event_t *ev
);
bool tray_handle_unmap_notify(
backend_t *backend,
const xcb_unmap_notify_event_t *ev
);
bool tray_handle_destroy_notify(
backend_t *backend,
const xcb_destroy_notify_event_t *ev
);