diff options
| author | sashomasho <sashomasho@gmail.com> | 2025-06-11 09:05:14 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-11 06:05:14 +0000 |
| commit | 8d7b22d1a8968a46286fdd13ca9d8d2c88e10e48 (patch) | |
| tree | d146f59c630f6a74141f0f691e89b3e87fc0138f /niri-config/src | |
| parent | 0407ac5e4ce67255388d7ed8d85ffdbe14ec99ab (diff) | |
| download | niri-8d7b22d1a8968a46286fdd13ca9d8d2c88e10e48.tar.gz niri-8d7b22d1a8968a46286fdd13ca9d8d2c88e10e48.tar.bz2 niri-8d7b22d1a8968a46286fdd13ca9d8d2c88e10e48.zip | |
Add deactivate-unfocused-windows debug flag (#1706)
* force xdg deactivation on invisable workspaces
This debug option provides a workaround for many Chromium-based chat
applications that fail to show notifications when they're active in
a workspace that's not currently visible and don't have keyboard focus
Signed-off-by: Alex Yosifov <sashomasho@gmail.com>
* fixes
---------
Signed-off-by: Alex Yosifov <sashomasho@gmail.com>
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
Diffstat (limited to 'niri-config/src')
| -rw-r--r-- | niri-config/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index 1fb46c71..67a621de 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -2351,6 +2351,8 @@ pub struct DebugConfig { #[knuffel(child)] pub honor_xdg_activation_with_invalid_serial: bool, #[knuffel(child)] + pub deactivate_unfocused_windows: bool, + #[knuffel(child)] pub skip_cursor_only_updates_during_vrr: bool, } @@ -5324,6 +5326,7 @@ mod tests { disable_monitor_names: false, strict_new_window_focus_policy: false, honor_xdg_activation_with_invalid_serial: false, + deactivate_unfocused_windows: false, skip_cursor_only_updates_during_vrr: false, }, workspaces: [ |
