summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorSoSeDiK <mrsosedik@gmail.com>2024-04-08 01:19:02 +0300
committerGitHub <noreply@github.com>2024-04-07 23:19:02 +0100
commit43b96f03b5af60586a864ea64e8c71b11ea6eb85 (patch)
treebc9744cfabddf1b14d356da4033ad780c9b62e8d /src/debug
parentdf1a3a978d61b976542beaadc7c0ab8468ddb5d0 (diff)
props: Allow setting per-window fullscreen opacity (#5470)
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/HyprCtl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/debug/HyprCtl.cpp b/src/debug/HyprCtl.cpp
index d672a2d0..ad62de12 100644
--- a/src/debug/HyprCtl.cpp
+++ b/src/debug/HyprCtl.cpp
@@ -1209,6 +1209,10 @@ std::string dispatchSetProp(eHyprCtlOutputFormat format, std::string request) {
PWINDOW->m_sSpecialRenderData.alphaInactiveOverride.forceSetIgnoreLocked(configStringToInt(VAL), lock);
} else if (PROP == "alphainactive") {
PWINDOW->m_sSpecialRenderData.alphaInactive.forceSetIgnoreLocked(std::stof(VAL), lock);
+ } else if (PROP == "alphafullscreenoverride") {
+ PWINDOW->m_sSpecialRenderData.alphaFullscreenOverride.forceSetIgnoreLocked(configStringToInt(VAL), lock);
+ } else if (PROP == "alphafullscreen") {
+ PWINDOW->m_sSpecialRenderData.alphaFullscreen.forceSetIgnoreLocked(std::stof(VAL), lock);
} else if (PROP == "activebordercolor") {
PWINDOW->m_sSpecialRenderData.activeBorderColor.forceSetIgnoreLocked(CGradientValueData(CColor(configStringToInt(VAL))), lock);
} else if (PROP == "inactivebordercolor") {