diff options
Diffstat (limited to 'hyprtester/plugin/src/main.cpp')
| -rw-r--r-- | hyprtester/plugin/src/main.cpp | 2 |
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) |
