summaryrefslogtreecommitdiff
path: root/src/render/Renderer.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2025-08-03 13:44:50 +0200
committerGitHub <noreply@github.com>2025-08-03 13:44:50 +0200
commit855d103aef59402e284d0b5e70518564b5023b5f (patch)
tree734024039c2118a2ccd361d0bc29335feaaae493 /src/render/Renderer.hpp
parent77068c781d06c58d8f88b36971dc013ee59b0531 (diff)
renderer: add popup fade-in-out (#11313)
Adds xdg popup fade-in and fade-out
Diffstat (limited to 'src/render/Renderer.hpp')
-rw-r--r--src/render/Renderer.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/Renderer.hpp b/src/render/Renderer.hpp
index 7798c0d4..4018fe40 100644
--- a/src/render/Renderer.hpp
+++ b/src/render/Renderer.hpp
@@ -81,8 +81,10 @@ class CHyprRenderer {
void addWindowToRenderUnfocused(PHLWINDOW window);
void makeSnapshot(PHLWINDOW);
void makeSnapshot(PHLLS);
+ void makeSnapshot(WP<CPopup>);
void renderSnapshot(PHLWINDOW);
void renderSnapshot(PHLLS);
+ void renderSnapshot(WP<CPopup>);
// if RENDER_MODE_NORMAL, provided damage will be written to.
// otherwise, it will be the one used.
@@ -134,6 +136,7 @@ class CHyprRenderer {
bool shouldBlur(PHLLS ls);
bool shouldBlur(PHLWINDOW w);
+ bool shouldBlur(WP<CPopup> p);
bool m_cursorHidden = false;
bool m_cursorHasSurface = false;