summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-05-01 23:19:00 +0200
committerAndreas Kling <kling@serenityos.org>2020-05-02 01:29:55 +0200
commitbb7eb3e1040b619cbbb606e9423468d5d851a5b0 (patch)
treed8ef27f89ce2a339c261b23b3e9da8f6aaa878ec /Libraries
parent2ac1fbef4f26acdf17b1f6b69657f4804cff8753 (diff)
downloadserenity-bb7eb3e1040b619cbbb606e9423468d5d851a5b0.zip
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.
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibGUI/Window.cpp1
-rw-r--r--Libraries/LibGUI/Window.h4
2 files changed, 0 insertions, 5 deletions
diff --git a/Libraries/LibGUI/Window.cpp b/Libraries/LibGUI/Window.cpp
index 60d80d938e..ca659bc073 100644
--- a/Libraries/LibGUI/Window.cpp
+++ b/Libraries/LibGUI/Window.cpp
@@ -100,7 +100,6 @@ void Window::show()
m_minimizable,
m_resizable,
m_fullscreen,
- m_show_titlebar,
m_opacity_when_windowless,
m_base_size,
m_size_increment,
diff --git a/Libraries/LibGUI/Window.h b/Libraries/LibGUI/Window.h
index 20f20eac71..c900e58425 100644
--- a/Libraries/LibGUI/Window.h
+++ b/Libraries/LibGUI/Window.h
@@ -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 };