renderer: add popup fade-in-out (#11313)

Adds xdg popup fade-in and fade-out
This commit is contained in:
Vaxry 2025-08-03 13:44:50 +02:00 committed by GitHub
parent 77068c781d
commit 855d103aef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 169 additions and 6 deletions

View file

@ -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;