diff options
Diffstat (limited to 'LibGUI/GWindow.cpp')
-rw-r--r-- | LibGUI/GWindow.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/LibGUI/GWindow.cpp b/LibGUI/GWindow.cpp index 6a3bb5a754..59d0280139 100644 --- a/LibGUI/GWindow.cpp +++ b/LibGUI/GWindow.cpp @@ -258,6 +258,9 @@ void GWindow::event(GEvent& event) return; } + if (event.type() == GEvent::WM_WindowAdded || event.type() == GEvent::WM_WindowRemoved || event.type() == GEvent::WM_WindowStateChanged) + return wm_event(static_cast<GWMEvent&>(event)); + GObject::event(event); } @@ -422,3 +425,7 @@ void GWindow::set_modal(bool modal) ASSERT(!m_window_id); m_modal = modal; } + +void GWindow::wm_event(GWMEvent&) +{ +} |