mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
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.
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user