1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:57:44 +00:00

WindowServer: Recompute occlusions when changing window's alpha channel

Fixes #4845
This commit is contained in:
Tom 2021-02-11 17:32:03 -07:00 committed by Andreas Kling
parent c2de22a635
commit 7e06afb822
3 changed files with 12 additions and 2 deletions

View file

@ -68,7 +68,9 @@ public:
void set_double_buffering_enabled(bool);
void set_has_alpha_channel(bool);
bool has_alpha_channel() const { return m_has_alpha_channel; }
void set_opacity(float);
float opacity() const { return m_opacity_when_windowless; }
WindowType window_type() const { return m_window_type; }
void set_window_type(WindowType);