diff options
author | Tom <tomut@yahoo.com> | 2021-02-12 14:25:08 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-02-13 00:39:33 +0100 |
commit | 0138f13bfe907769bbc693a426ee837b066f519f (patch) | |
tree | 7ca1f605a630a71d8e421354cc5c000f421ca8c3 /Userland/Services/WindowServer/WindowFrame.h | |
parent | 9ae02d4c926d332747ce574ab35cba4c062b862d (diff) | |
download | serenity-0138f13bfe907769bbc693a426ee837b066f519f.zip |
WindowServer: Improvements to support alpha channel in window frames
This fixes some issues handling the alpha channel that may be present
in rendered window frames.
Fixes #5303
Diffstat (limited to 'Userland/Services/WindowServer/WindowFrame.h')
-rw-r--r-- | Userland/Services/WindowServer/WindowFrame.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/Userland/Services/WindowServer/WindowFrame.h b/Userland/Services/WindowServer/WindowFrame.h index 992ce11921..872597f29a 100644 --- a/Userland/Services/WindowServer/WindowFrame.h +++ b/Userland/Services/WindowServer/WindowFrame.h @@ -88,16 +88,7 @@ public: m_shadow_dirty |= re_render_shadow; } - void theme_changed() - { - m_dirty = m_shadow_dirty = true; - m_top_bottom = nullptr; - m_left_right = nullptr; - m_bottom_y = m_right_x = 0; - - layout_buttons(); - set_button_icons(); - } + void theme_changed(); private: void paint_simple_rect_shadow(Gfx::Painter&, const Gfx::IntRect&, const Gfx::Bitmap&) const; |