diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-05-21 19:49:47 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-05-21 19:50:13 +0300 |
| commit | 71251a700308fbdb719e697b633f5a0483cd3f12 (patch) | |
| tree | 95e1e13be222d9f322508a97b641889e154c554d /src | |
| parent | 2415346caaa4121ed202b8e376fb40b2a44eb61f (diff) | |
| download | niri-71251a700308fbdb719e697b633f5a0483cd3f12.tar.gz niri-71251a700308fbdb719e697b633f5a0483cd3f12.tar.bz2 niri-71251a700308fbdb719e697b633f5a0483cd3f12.zip | |
input: Add missing redraws on urgency actions
The layout urgent colors update even without window rule changes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/input/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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(); } } } |
