summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Window.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-04-30 10:42:54 +0200
committerAndreas Kling <kling@serenityos.org>2023-04-30 14:01:59 +0200
commit98b8bab441c94eef6e896b20c1e7ce846192a116 (patch)
treef483099e8f86438dfc824e3e73faef50d34486e4 /Userland/Libraries/LibGUI/Window.h
parenta268dcb1e25541a571c43e27c2ed3de1bdcd7189 (diff)
downloadserenity-98b8bab441c94eef6e896b20c1e7ce846192a116.zip
LibGUI: Use Variant's built-in equality operator in Window and Widget
Now that Variant has operator==(), we don't need to go through all this trouble to compare two Variant values.
Diffstat (limited to 'Userland/Libraries/LibGUI/Window.h')
-rw-r--r--Userland/Libraries/LibGUI/Window.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/Window.h b/Userland/Libraries/LibGUI/Window.h
index c98197b4b8..57f75b2e10 100644
--- a/Userland/Libraries/LibGUI/Window.h
+++ b/Userland/Libraries/LibGUI/Window.h
@@ -279,8 +279,6 @@ private:
void flip(Vector<Gfx::IntRect, 32> const& dirty_rects);
void force_update();
- bool are_cursors_the_same(AK::Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap const>> const&, AK::Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap const>> const&) const;
-
WeakPtr<Widget> m_previously_focused_widget;
OwnPtr<WindowBackingStore> m_front_store;