aboutsummaryrefslogtreecommitdiff
path: root/src/niri.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/niri.rs')
-rw-r--r--src/niri.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/niri.rs b/src/niri.rs
index 03eed6d2..8e2807db 100644
--- a/src/niri.rs
+++ b/src/niri.rs
@@ -852,6 +852,7 @@ impl State {
let mut libinput_config_changed = false;
let mut output_config_changed = false;
let mut window_rules_changed = false;
+ let mut debug_config_changed = false;
let mut old_config = self.niri.config.borrow_mut();
// Reload the cursor.
@@ -910,6 +911,10 @@ impl State {
});
}
+ if config.debug != old_config.debug {
+ debug_config_changed = true;
+ }
+
*old_config = config;
// Release the borrow.
@@ -978,6 +983,10 @@ impl State {
}
}
+ if debug_config_changed {
+ self.backend.on_debug_config_changed();
+ }
+
if window_rules_changed {
let _span = tracy_client::span!("recompute window rules");