summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GEvent.h
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/GEvent.h
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/GEvent.h')
-rw-r--r--Libraries/LibGUI/GEvent.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/Libraries/LibGUI/GEvent.h b/Libraries/LibGUI/GEvent.h
index ade04d08a2..d58e4a8043 100644
--- a/Libraries/LibGUI/GEvent.h
+++ b/Libraries/LibGUI/GEvent.h
@@ -39,7 +39,6 @@ public:
WM_WindowRemoved,
WM_WindowStateChanged,
WM_WindowRectChanged,
- WM_WindowIconChanged,
WM_WindowIconBitmapChanged,
__End_WM_Events,
};
@@ -120,20 +119,6 @@ private:
Rect m_rect;
};
-class GWMWindowIconChangedEvent : public GWMEvent {
-public:
- GWMWindowIconChangedEvent(int client_id, int window_id, const StringView& icon_path)
- : GWMEvent(GEvent::Type::WM_WindowIconChanged, client_id, window_id)
- , m_icon_path(icon_path)
- {
- }
-
- String icon_path() const { return m_icon_path; }
-
-private:
- String m_icon_path;
-};
-
class GWMWindowIconBitmapChangedEvent : public GWMEvent {
public:
GWMWindowIconBitmapChangedEvent(int client_id, int window_id, int icon_buffer_id, const Size& icon_size)