summaryrefslogtreecommitdiff
path: root/src/desktop
diff options
context:
space:
mode:
authorMihai Fufezan <mihai@fufexan.net>2026-04-03 00:36:58 +0300
committerGitHub <noreply@github.com>2026-04-02 22:36:58 +0100
commitf25473b21b45ab8ded4a0dbba69eb6b6660d568e (patch)
tree9ddcc506b7dbee01ef5f92922e643ea9387047a5 /src/desktop
parentad906a473f2deffba59b40de44936e17e61f95aa (diff)
render: fix layer blur_popups ignoring ignore_alpha when blur is off (#13947)
Diffstat (limited to 'src/desktop')
-rw-r--r--src/desktop/view/Popup.cpp4
-rw-r--r--src/desktop/view/Popup.hpp1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/desktop/view/Popup.cpp b/src/desktop/view/Popup.cpp
index f6d68137..817a9fde 100644
--- a/src/desktop/view/Popup.cpp
+++ b/src/desktop/view/Popup.cpp
@@ -352,6 +352,10 @@ SP<Desktop::View::CWLSurface> CPopup::getT1Owner() const {
return m_layerOwner->wlSurface();
}
+PHLLS CPopup::layerOwner() const {
+ return m_layerOwner.lock();
+}
+
Vector2D CPopup::coordsRelativeToParent() const {
Vector2D offset;
diff --git a/src/desktop/view/Popup.hpp b/src/desktop/view/Popup.hpp
index 9280056c..d0d66cc5 100644
--- a/src/desktop/view/Popup.hpp
+++ b/src/desktop/view/Popup.hpp
@@ -32,6 +32,7 @@ namespace Desktop::View {
virtual std::optional<CBox> surfaceLogicalBox() const;
SP<Desktop::View::CWLSurface> getT1Owner() const;
+ PHLLS layerOwner() const;
Vector2D coordsRelativeToParent() const;
Vector2D coordsGlobal() const;
PHLMONITOR getMonitor() const;