diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 20:20:44 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 20:21:49 +0100 |
commit | 2e219255a2f062e9d7da0c9a306e84bde95db2fa (patch) | |
tree | a489507c091bb406c7939686cabb391e3a0406ee /Applications/Taskbar | |
parent | 0709c17487b92ad556a887c72cc2e1c15faee351 (diff) | |
download | serenity-2e219255a2f062e9d7da0c9a306e84bde95db2fa.zip |
IPCCompiler: Put message classes in the Messages namespace
Diffstat (limited to 'Applications/Taskbar')
-rw-r--r-- | Applications/Taskbar/TaskbarButton.cpp | 4 | ||||
-rw-r--r-- | Applications/Taskbar/WindowList.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Applications/Taskbar/TaskbarButton.cpp b/Applications/Taskbar/TaskbarButton.cpp index 8c2dc7ef6b..67321ae3b4 100644 --- a/Applications/Taskbar/TaskbarButton.cpp +++ b/Applications/Taskbar/TaskbarButton.cpp @@ -40,13 +40,13 @@ TaskbarButton::~TaskbarButton() void TaskbarButton::context_menu_event(GUI::ContextMenuEvent&) { - GUI::WindowServerConnection::the().post_message(WindowServer::WM_PopupWindowMenu(m_identifier.client_id(), m_identifier.window_id(), screen_relative_rect().location())); + GUI::WindowServerConnection::the().post_message(Messages::WindowServer::WM_PopupWindowMenu(m_identifier.client_id(), m_identifier.window_id(), screen_relative_rect().location())); } void TaskbarButton::resize_event(GUI::ResizeEvent& event) { GUI::WindowServerConnection::the().post_message( - WindowServer::WM_SetWindowTaskbarRect( + Messages::WindowServer::WM_SetWindowTaskbarRect( m_identifier.client_id(), m_identifier.window_id(), screen_relative_rect())); diff --git a/Applications/Taskbar/WindowList.cpp b/Applications/Taskbar/WindowList.cpp index fb6fd7e0d5..7759903847 100644 --- a/Applications/Taskbar/WindowList.cpp +++ b/Applications/Taskbar/WindowList.cpp @@ -52,9 +52,9 @@ Window& WindowList::ensure_window(const WindowIdentifier& identifier) window->set_button(aid_create_button(identifier)); window->button()->on_click = [window = window.ptr(), identifier](auto&) { if (window->is_minimized() || !window->is_active()) { - GUI::WindowServerConnection::the().post_message(WindowServer::WM_SetActiveWindow(identifier.client_id(), identifier.window_id())); + GUI::WindowServerConnection::the().post_message(Messages::WindowServer::WM_SetActiveWindow(identifier.client_id(), identifier.window_id())); } else { - GUI::WindowServerConnection::the().post_message(WindowServer::WM_SetWindowMinimized(identifier.client_id(), identifier.window_id(), true)); + GUI::WindowServerConnection::the().post_message(Messages::WindowServer::WM_SetWindowMinimized(identifier.client_id(), identifier.window_id(), true)); } }; auto& window_ref = *window; |