input: Add missing redraws on urgency actions
Browse files at this commit71251a700308fbdb719e697b633f5a0483cd3f12Parent: 24153461 changed file +3 -0
- src/input/mod.rs +3 -0
src/input/mod.rsmodified+3 -0
| @@ -1986,6 +1986,7 @@ impl State { | ||
| 1986 | 1986 | let urgent = window.is_urgent(); |
| 1987 | 1987 | window.set_urgent(!urgent); |
| 1988 | 1988 | } |
| 1989 | + self.niri.queue_redraw_all(); | |
| 1989 | 1990 | } |
| 1990 | 1991 | Action::SetUrgent(id) => { |
| 1991 | 1992 | let window = self |
| @@ -1996,6 +1997,7 @@ impl State { | ||
| 1996 | 1997 | if let Some(window) = window { |
| 1997 | 1998 | window.set_urgent(true); |
| 1998 | 1999 | } |
| 2000 | + self.niri.queue_redraw_all(); | |
| 1999 | 2001 | } |
| 2000 | 2002 | Action::UnsetUrgent(id) => { |
| 2001 | 2003 | let window = self |
| @@ -2006,6 +2008,7 @@ impl State { | ||
| 2006 | 2008 | if let Some(window) = window { |
| 2007 | 2009 | window.set_urgent(false); |
| 2008 | 2010 | } |
| 2011 | + self.niri.queue_redraw_all(); | |
| 2009 | 2012 | } |
| 2010 | 2013 | } |
| 2011 | 2014 | } |