diff options
author | MacDue <macdue@dueutil.tech> | 2022-12-06 21:35:32 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-07 11:48:27 +0100 |
commit | 27fae783359ece05400dcbee66c50fee97cd1b0b (patch) | |
tree | 7918baf077884d287a8dce3ad7ccad9f9d1aaaf0 /Userland/Libraries/LibGUI/ConnectionToWindowManagerServer.cpp | |
parent | e011eafd3790ca0375a4678a9cb2debd0ae95ac7 (diff) | |
download | serenity-27fae783359ece05400dcbee66c50fee97cd1b0b.zip |
Meta+Userland: Pass Gfx::IntSize by value
Just two ints like Gfx::IntPoint.
Diffstat (limited to 'Userland/Libraries/LibGUI/ConnectionToWindowManagerServer.cpp')
-rw-r--r-- | Userland/Libraries/LibGUI/ConnectionToWindowManagerServer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/ConnectionToWindowManagerServer.cpp b/Userland/Libraries/LibGUI/ConnectionToWindowManagerServer.cpp index 5299ddf086..31bde9f50c 100644 --- a/Userland/Libraries/LibGUI/ConnectionToWindowManagerServer.cpp +++ b/Userland/Libraries/LibGUI/ConnectionToWindowManagerServer.cpp @@ -26,7 +26,7 @@ void ConnectionToWindowManagerServer::window_state_changed(i32 wm_id, i32 client Core::EventLoop::current().post_event(*window, make<WMWindowStateChangedEvent>(client_id, window_id, title, rect, workspace_row, workspace_column, is_active, is_blocked, static_cast<WindowType>(window_type), is_minimized, is_frameless, progress)); } -void ConnectionToWindowManagerServer::applet_area_size_changed(i32 wm_id, Gfx::IntSize const& size) +void ConnectionToWindowManagerServer::applet_area_size_changed(i32 wm_id, Gfx::IntSize size) { if (auto* window = Window::from_window_id(wm_id)) Core::EventLoop::current().post_event(*window, make<WMAppletAreaSizeChangedEvent>(size)); |