LibGUI: Retain the active input tracking widget's cursor

Until the tracking stops, we want to keep displaying the same cursor.
This commit is contained in:
Andreas Kling 2022-08-15 22:29:12 +02:00
commit 6548ae8afd
Notes: sideshowbarker 2024-07-17 08:13:31 +09:00
2 changed files with 12 additions and 5 deletions

View file

@ -345,7 +345,7 @@ public:
virtual Gfx::IntRect children_clip_rect() const;
AK::Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> override_cursor() const { return m_override_cursor; }
AK::Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> const& override_cursor() const { return m_override_cursor; }
void set_override_cursor(AK::Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>>);
bool load_from_gml(StringView);