diff options
| author | Kamikadze <40305144+Kam1k4dze@users.noreply.github.com> | 2025-05-27 20:10:22 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-27 16:10:22 +0100 |
| commit | 24915a3a9b0bb8c4dc8b5a365cc0bc3a03ee36f0 (patch) | |
| tree | 243e23671c81e48364ad76272f2e6b6d4793c363 /src/desktop/Window.hpp | |
| parent | 90d0b8ecae9540c21ce418ef781cf0fc2afc4dff (diff) | |
windowrules: Add noscreenshare (#10482)
Diffstat (limited to 'src/desktop/Window.hpp')
| -rw-r--r-- | src/desktop/Window.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop/Window.hpp b/src/desktop/Window.hpp index 0d06b69c..3f73c468 100644 --- a/src/desktop/Window.hpp +++ b/src/desktop/Window.hpp @@ -104,6 +104,7 @@ struct SWindowData { CWindowOverridableVar<bool> xray = false; CWindowOverridableVar<bool> renderUnfocused = false; CWindowOverridableVar<bool> noFollowMouse = false; + CWindowOverridableVar<bool> noScreenShare = false; CWindowOverridableVar<Hyprlang::INT> borderSize = {std::string("general:border_size"), Hyprlang::INT(0), std::nullopt}; CWindowOverridableVar<Hyprlang::INT> rounding = {std::string("decoration:rounding"), Hyprlang::INT(0), std::nullopt}; @@ -489,6 +490,7 @@ namespace NWindowProperties { {"immediate", [](const PHLWINDOW& pWindow) { return &pWindow->m_windowData.tearing; }}, {"xray", [](const PHLWINDOW& pWindow) { return &pWindow->m_windowData.xray; }}, {"nofollowmouse", [](const PHLWINDOW& pWindow) { return &pWindow->m_windowData.noFollowMouse; }}, + {"noscreenshare", [](const PHLWINDOW& pWindow) { return &pWindow->m_windowData.noScreenShare; }}, }; const std::unordered_map<std::string, std::function<CWindowOverridableVar<Hyprlang::INT>*(const PHLWINDOW&)>> intWindowProperties = { |
