From 71251a700308fbdb719e697b633f5a0483cd3f12 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 21 May 2025 19:49:47 +0300 Subject: input: Add missing redraws on urgency actions The layout urgent colors update even without window rule changes. --- src/input/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/input/mod.rs b/src/input/mod.rs index e50d5d75..9c4060c7 100644 --- a/src/input/mod.rs +++ b/src/input/mod.rs @@ -1986,6 +1986,7 @@ impl State { let urgent = window.is_urgent(); window.set_urgent(!urgent); } + self.niri.queue_redraw_all(); } Action::SetUrgent(id) => { let window = self @@ -1996,6 +1997,7 @@ impl State { if let Some(window) = window { window.set_urgent(true); } + self.niri.queue_redraw_all(); } Action::UnsetUrgent(id) => { let window = self @@ -2006,6 +2008,7 @@ impl State { if let Some(window) = window { window.set_urgent(false); } + self.niri.queue_redraw_all(); } } } -- cgit