1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

WindowServer+LibGUI: Remove unused Window::show_titlebar() flag

Nobody was using this flag, so let's stop maintaining it. It's easy to
add it back if we ever want the behavior.
This commit is contained in:
Andreas Kling 2020-05-01 23:19:00 +02:00
parent 2ac1fbef4f
commit bb7eb3e104
6 changed files with 2 additions and 17 deletions

View file

@ -78,9 +78,6 @@ public:
String title() const;
void set_title(const StringView&);
bool show_titlebar() const { return m_show_titlebar; };
void set_show_titlebar(bool show) { m_show_titlebar = show; };
Color background_color() const { return m_background_color; }
void set_background_color(Color color) { m_background_color = color; }
@ -222,7 +219,6 @@ private:
bool m_resizable { true };
bool m_minimizable { true };
bool m_fullscreen { false };
bool m_show_titlebar { true };
bool m_layout_pending { false };
bool m_visible_for_timer_purposes { true };
bool m_visible { false };