diff options
| author | Duncan Overbruck <mail@duncano.de> | 2025-03-21 17:31:27 +0100 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-05-10 12:14:41 -0700 |
| commit | 86f57c2ec775d4aa08bf310c94b22ea266eaa9e9 (patch) | |
| tree | 1f5a81c4ffaec502cff856d2eb52a19e37f77bc4 /src/layout/mod.rs | |
| parent | 3cc67897afeabe6e0b1a6d035fde6f81010372d1 (diff) | |
| download | niri-86f57c2ec775d4aa08bf310c94b22ea266eaa9e9.tar.gz niri-86f57c2ec775d4aa08bf310c94b22ea266eaa9e9.tar.bz2 niri-86f57c2ec775d4aa08bf310c94b22ea266eaa9e9.zip | |
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
Diffstat (limited to 'src/layout/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/mod.rs b/src/layout/mod.rs index d42f05a5..b2726bef 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -210,6 +210,8 @@ pub trait LayoutElement { fn set_bounds(&self, bounds: Size<i32, Logical>); fn is_ignoring_opacity_window_rule(&self) -> bool; + fn is_urgent(&self) -> bool; + fn configure_intent(&self) -> ConfigureIntent; fn send_pending_configure(&mut self); |
