summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibGUI/Window.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/Window.cpp b/Userland/Libraries/LibGUI/Window.cpp
index ef329da64d..feeeb5a88b 100644
--- a/Userland/Libraries/LibGUI/Window.cpp
+++ b/Userland/Libraries/LibGUI/Window.cpp
@@ -896,6 +896,9 @@ void Window::set_frameless(bool frameless)
if (!is_visible())
return;
WindowServerConnection::the().set_frameless(m_window_id, frameless);
+
+ if (!frameless)
+ apply_icon();
}
bool Window::is_maximized() const