From c931eaa22c0890539867399f161c64abdb85a4b8 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 18 Apr 2019 00:39:11 +0200 Subject: WindowServer: Generate a separate WM event for window icon changes. --- LibGUI/GWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LibGUI/GWindow.cpp') diff --git a/LibGUI/GWindow.cpp b/LibGUI/GWindow.cpp index 5e294ffc25..31f9c33e8f 100644 --- a/LibGUI/GWindow.cpp +++ b/LibGUI/GWindow.cpp @@ -277,7 +277,7 @@ void GWindow::event(CEvent& event) return; } - if (event.type() == GEvent::WM_WindowRemoved || event.type() == GEvent::WM_WindowStateChanged) + if (event.type() == GEvent::WM_WindowRemoved || event.type() == GEvent::WM_WindowStateChanged || event.type() == GEvent::WM_WindowIconChanged) return wm_event(static_cast(event)); CObject::event(event); -- cgit v1.2.3