From a92dae5af7bad3af53f6d6b689d71ee900077569 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 29 Apr 2026 16:37:48 +0100 Subject: desktop/window: add alpha container for alpha calculations --- hyprtester/plugin/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hyprtester/plugin/src/main.cpp') 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) -- cgit v1.2.3