diff options
Diffstat (limited to 'Applications/Taskbar')
-rw-r--r-- | Applications/Taskbar/TaskbarButton.cpp | 2 | ||||
-rw-r--r-- | Applications/Taskbar/WindowList.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Applications/Taskbar/TaskbarButton.cpp b/Applications/Taskbar/TaskbarButton.cpp index 3fd1f336e9..2838ebcf22 100644 --- a/Applications/Taskbar/TaskbarButton.cpp +++ b/Applications/Taskbar/TaskbarButton.cpp @@ -20,5 +20,5 @@ void TaskbarButton::context_menu_event(GContextMenuEvent&) request.wm.client_id = m_identifier.client_id(); request.wm.window_id = m_identifier.window_id(); request.wm.position = screen_relative_rect().location(); - GEventLoop::current().connection().post_message_to_server(request); + GWindowServerConnection::the().post_message_to_server(request); } diff --git a/Applications/Taskbar/WindowList.cpp b/Applications/Taskbar/WindowList.cpp index 4ca85919eb..51f5993ac3 100644 --- a/Applications/Taskbar/WindowList.cpp +++ b/Applications/Taskbar/WindowList.cpp @@ -35,7 +35,7 @@ Window& WindowList::ensure_window(const WindowIdentifier& identifier) } message.wm.client_id = identifier.client_id(); message.wm.window_id = identifier.window_id(); - bool success = GEventLoop::current().connection().post_message_to_server(message); + bool success = GWindowServerConnection::the().post_message_to_server(message); ASSERT(success); }; auto& window_ref = *window; |