1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:57:44 +00:00

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
parent 1885445a79
commit 6548ae8afd
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);