From 126ca37d96b03a015a6481b37073060d9861d8f6 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 25 May 2025 08:41:33 +0300 Subject: Rename Un/Set/ToggleUrgent to Un/Set/ToggleWindowUrgent Overlooked this when reviewing. This change is not cfg-breaking (since you can't bind these directly), but it does break calling these actions through IPC. I don't imagine they are widely used though, and the original PR author who also implemented urgency for bars said he didn't use these actions either. --- src/input/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/input/mod.rs b/src/input/mod.rs index 0c6cf8f3..5f31d7ee 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -1982,7 +1982,7 @@ impl State { self.niri.queue_redraw_all(); } } - Action::ToggleUrgent(id) => { + Action::ToggleWindowUrgent(id) => { let window = self .niri .layout @@ -1994,7 +1994,7 @@ impl State { } self.niri.queue_redraw_all(); } - Action::SetUrgent(id) => { + Action::SetWindowUrgent(id) => { let window = self .niri .layout @@ -2005,7 +2005,7 @@ impl State { } self.niri.queue_redraw_all(); } - Action::UnsetUrgent(id) => { + Action::UnsetWindowUrgent(id) => { let window = self .niri .layout -- cgit