aboutsummaryrefslogtreecommitdiff
path: root/niri-ipc
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-05-25 08:41:33 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-05-25 08:43:27 +0300
commit126ca37d96b03a015a6481b37073060d9861d8f6 (patch)
treebd08d01d0b77b6d0e9191cae8c9102f400f8057b /niri-ipc
parente6bd60fbb1e747d68d8239c78f84d8d270af812c (diff)
downloadniri-126ca37d96b03a015a6481b37073060d9861d8f6.tar.gz
niri-126ca37d96b03a015a6481b37073060d9861d8f6.tar.bz2
niri-126ca37d96b03a015a6481b37073060d9861d8f6.zip
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.
Diffstat (limited to 'niri-ipc')
-rw-r--r--niri-ipc/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/niri-ipc/src/lib.rs b/niri-ipc/src/lib.rs
index 95c847ae..44ad52b2 100644
--- a/niri-ipc/src/lib.rs
+++ b/niri-ipc/src/lib.rs
@@ -823,19 +823,19 @@ pub enum Action {
/// Close the Overview.
CloseOverview {},
/// Toggle urgent status of a window.
- ToggleUrgent {
+ ToggleWindowUrgent {
/// Id of the window to toggle urgent.
#[cfg_attr(feature = "clap", arg(long))]
id: u64,
},
/// Set urgent status of a window.
- SetUrgent {
+ SetWindowUrgent {
/// Id of the window to set urgent.
#[cfg_attr(feature = "clap", arg(long))]
id: u64,
},
/// Unset urgent status of a window.
- UnsetUrgent {
+ UnsetWindowUrgent {
/// Id of the window to unset urgent.
#[cfg_attr(feature = "clap", arg(long))]
id: u64,