From 5f23d344d5d20d238eea65cd9e7189a2baf499c8 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 24 Mar 2024 11:11:15 +0400 Subject: Make screenshot UI render target-aware --- resources/default-config.kdl | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'resources') diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 0bb31697..728baa53 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -402,14 +402,17 @@ animations { // To preview and set up this rule, check the preview-render option // in the debug section of the config. // - // WARNING: the window is NOT blocked out from the screenshot UI. - // If you open the screenshot UI while screencasting, blocked out windows - // WILL BE VISIBLE on the screencast. + // WARNING: the window is NOT blocked out from third-party screenshot tools. + // If you open some screenshot tool with preview while screencasting, + // blocked out windows WILL BE VISIBLE on the screencast. + // + // The built-in screenshot UI is not affected though, you can use it safely, + // and windows will remain blocked out even when screencasting it. block-out-from "screencast" // You can also block out the window out of all screen captures, including - // the screenshot UI. This way you avoid accidentally showing the window - // on a screencast when opening the screenshot UI. + // third-party screenshot tools. This way you avoid accidentally showing + // the window on a screencast when opening a third-party screenshot preview. block-out-from "screen-capture" // You can amend the window's minimum and maximum size in logical pixels. @@ -459,7 +462,7 @@ window-rule { match app-id=r#"^org\.keepassxc\.KeePassXC$"# match app-id=r#"^org\.gnome\.World\.Secrets$"# - // Warning: will be visible when opening the screenshot UI. + // Warning: will be visible on third-party screenshot tools. block-out-from "screencast" // Use this instead to block out from all screen captures. -- cgit