forge
Explore
Log in

Don't you dare go Hollow

input: Add missing redraws on urgency actions

Browse files at this commit

71251a700308fbdb719e697b633f5a0483cd3f12Ivan MolodetskikhParent: 2415346
The layout urgent colors update even without window rule changes.
src/input/mod.rsmodified+3 -0
@@ -1986,6 +1986,7 @@ impl State {
19861986 let urgent = window.is_urgent();
19871987 window.set_urgent(!urgent);
19881988 }
1989+ self.niri.queue_redraw_all();
19891990 }
19901991 Action::SetUrgent(id) => {
19911992 let window = self
@@ -1996,6 +1997,7 @@ impl State {
19961997 if let Some(window) = window {
19971998 window.set_urgent(true);
19981999 }
2000+ self.niri.queue_redraw_all();
19992001 }
20002002 Action::UnsetUrgent(id) => {
20012003 let window = self
@@ -2006,6 +2008,7 @@ impl State {
20062008 if let Some(window) = window {
20072009 window.set_urgent(false);
20082010 }
2011+ self.niri.queue_redraw_all();
20092012 }
20102013 }
20112014 }