From 31e025dbe04dbe1836ea759f6b6e2ea09591fb23 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 29 Apr 2026 18:51:19 +0100 Subject: desktop/window: refactor over fullscreen state --- src/desktop/view/Window.hpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/desktop/view/Window.hpp') diff --git a/src/desktop/view/Window.hpp b/src/desktop/view/Window.hpp index a5d89c58..32a7bcfe 100644 --- a/src/desktop/view/Window.hpp +++ b/src/desktop/view/Window.hpp @@ -315,15 +315,24 @@ namespace Desktop::View { void setInputBlocked(eWindowInputBlockReason reason, bool blocked); bool isInputBlocked() const; bool isInputBlocked(eWindowInputBlockReason reason) const; + bool isInputBlockedOnly(eWindowInputBlockReason reason) const; bool acceptsInput() const; + bool isAllowedOverFullscreen() const; + bool isBlockedByFullscreen() const; + bool isFadingOutUnderFullscreen() const; + bool shouldRenderOverFullscreen() const; + void updateFullscreenInputState(); PHLANIMVAR& alpha(eWindowAlpha type); const PHLANIMVAR& alpha(eWindowAlpha type) const; float alphaValue(eWindowAlpha type) const; float alphaGoal(eWindowAlpha type) const; float alphaTotal() const; + float alphaTotalGoal() const; float alphaTotalWithout(eWindowAlpha type) const; float effectiveAlpha() const; bool visibleByAlpha() const; + bool visibleByAlphaGoal() const; + bool targetVisible() const; void updateDecorationValues(); SBoxExtents getFullWindowReservedArea(); Vector2D middle(); @@ -339,7 +348,7 @@ namespace Desktop::View { void activate(bool force = false); int surfacesCount(); bool clampWindowSize(const std::optional minSize, const std::optional maxSize); - bool isFullscreen(); + bool isFullscreen() const; bool isEffectiveInternalFSMode(const eFullscreenMode) const; int getRealBorderSize() const; float getScrollMouse(); -- cgit v1.2.3