add window urgency through xdg-activation-v1

urgency is done through activation requests without a serial from a
previous interaction.

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/issues/150
This commit is contained in:
Duncan Overbruck
2025-03-21 17:31:27 +01:00
committed by Ivan Molodetskikh
parent 3cc67897af
commit 86f57c2ec7
6 changed files with 52 additions and 7 deletions

View File

@@ -272,4 +272,8 @@ impl LayoutElement for TestWindow {
fn interactive_resize_data(&self) -> Option<InteractiveResizeData> {
None
}
fn is_urgent(&self) -> bool {
false
}
}