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

WindowServer+LibGUI: Add a way to force a window to have a drop shadow

This commit is contained in:
Andreas Kling 2021-07-04 23:10:53 +02:00
parent 3368e54224
commit c2dfa9d54c
7 changed files with 41 additions and 6 deletions

View file

@ -45,6 +45,8 @@ public:
bool is_frameless() const { return m_frameless; }
void set_frameless(bool);
void set_forced_shadow(bool);
bool is_resizable() const { return m_resizable; }
void set_resizable(bool resizable) { m_resizable = resizable; }
@ -266,6 +268,7 @@ private:
bool m_minimizable { true };
bool m_fullscreen { false };
bool m_frameless { false };
bool m_forced_shadow { false };
bool m_layout_pending { false };
bool m_visible_for_timer_purposes { true };
bool m_visible { false };