summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GEventLoop.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-28 10:24:58 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-28 10:24:58 +0200
commitd4892b3fdc36546545058a3e3c5a10d61be07c8e (patch)
tree064f779963495bb513af51e8d14b2da3b9e17344 /Libraries/LibGUI/GEventLoop.cpp
parent841b2e5d1367b1b5638d13dbed155ec53914e015 (diff)
downloadserenity-d4892b3fdc36546545058a3e3c5a10d61be07c8e.zip
WindowServer+LibGUI: Remove old "icon path" way of doing things.
Now that we can set icons directly "by bitmap", there's no need for passing around the icon paths anymore, so get rid of all the IPC and API related to that. :^)
Diffstat (limited to 'Libraries/LibGUI/GEventLoop.cpp')
-rw-r--r--Libraries/LibGUI/GEventLoop.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Libraries/LibGUI/GEventLoop.cpp b/Libraries/LibGUI/GEventLoop.cpp
index 458f1ec708..a27e8ef5b4 100644
--- a/Libraries/LibGUI/GEventLoop.cpp
+++ b/Libraries/LibGUI/GEventLoop.cpp
@@ -192,8 +192,6 @@ void GWindowServerConnection::handle_wm_event(const WSAPI_ServerMessage& event,
CEventLoop::current().post_event(window, make<GWMWindowStateChangedEvent>(event.wm.client_id, event.wm.window_id, String(event.text, event.text_length), event.wm.rect, event.wm.is_active, (GWindowType)event.wm.window_type, event.wm.is_minimized));
else if (event.type == WSAPI_ServerMessage::WM_WindowRectChanged)
CEventLoop::current().post_event(window, make<GWMWindowRectChangedEvent>(event.wm.client_id, event.wm.window_id, event.wm.rect));
- else if (event.type == WSAPI_ServerMessage::WM_WindowIconChanged)
- CEventLoop::current().post_event(window, make<GWMWindowIconChangedEvent>(event.wm.client_id, event.wm.window_id, String(event.text, event.text_length)));
else if (event.type == WSAPI_ServerMessage::WM_WindowIconBitmapChanged)
CEventLoop::current().post_event(window, make<GWMWindowIconBitmapChangedEvent>(event.wm.client_id, event.wm.window_id, event.wm.icon_buffer_id, event.wm.icon_size));
else if (event.type == WSAPI_ServerMessage::WM_WindowRemoved)