mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:28:12 +00:00
WindowServer+LibGUI: Add a way to force a window to have a drop shadow
This commit is contained in:
parent
3368e54224
commit
c2dfa9d54c
7 changed files with 41 additions and 6 deletions
|
@ -164,7 +164,7 @@ void WindowFrame::reload_config()
|
|||
|
||||
MultiScaleBitmaps* WindowFrame::shadow_bitmap() const
|
||||
{
|
||||
if (m_window.is_frameless())
|
||||
if (m_window.is_frameless() && !m_window.has_forced_shadow())
|
||||
return nullptr;
|
||||
switch (m_window.type()) {
|
||||
case WindowType::Desktop:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue