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

LibGUI: Switch focus if the currently focused widget is disabled

This commit is contained in:
Andreas Kling 2020-12-28 00:33:46 +01:00
parent df6106854e
commit 644d5c5404
3 changed files with 11 additions and 0 deletions

View file

@ -196,6 +196,8 @@ public:
void update_cursor(Badge<Widget>) { update_cursor(); }
void did_disable_focused_widget(Badge<Widget>);
protected:
Window(Core::Object* parent = nullptr);
virtual void wm_event(WMEvent&);