summaryrefslogtreecommitdiff
path: root/hyprtester/plugin/src/main.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2026-04-29 16:37:48 +0100
committerVaxry <43317083+vaxerski@users.noreply.github.com>2026-04-29 22:05:32 +0100
commita92dae5af7bad3af53f6d6b689d71ee900077569 (patch)
tree260db0af173ff63636d738dd64baa3b263fb6c53 /hyprtester/plugin/src/main.cpp
parent6bd15b948f1b266820c286c8f41fa7b4c2a12399 (diff)
desktop/window: add alpha container for alpha calculations
Diffstat (limited to 'hyprtester/plugin/src/main.cpp')
-rw-r--r--hyprtester/plugin/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hyprtester/plugin/src/main.cpp b/hyprtester/plugin/src/main.cpp
index ac59119d..c7d6f4fd 100644
--- a/hyprtester/plugin/src/main.cpp
+++ b/hyprtester/plugin/src/main.cpp
@@ -336,7 +336,7 @@ static SDispatchResult floatingFocusOnFullscreen(std::string in) {
if (!PLASTWINDOW->m_isFloating)
return {.success = false, .error = "Window must be floating"};
- if (PLASTWINDOW->m_alpha != 1.f)
+ if (PLASTWINDOW->alphaTotal() != 1.F)
return {.success = false, .error = "floating window doesnt restore it opacity when focused on fullscreen workspace"};
if (!PLASTWINDOW->m_createdOverFullscreen)