mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 01:59:31 +00:00
LibGUI: Focus the first focusable widget added to a window
It feels really awkward if nothing is focused when opening a window.
This commit is contained in:
parent
65d94a1e74
commit
4806cd122d
Notes:
sideshowbarker
2024-07-19 06:16:56 +09:00
Author: https://github.com/awesomekling
Commit: 4806cd122d
3 changed files with 11 additions and 2 deletions
|
@ -183,7 +183,8 @@ public:
|
|||
|
||||
Action* action_for_key_event(const KeyEvent&);
|
||||
|
||||
void did_remove_widget(Badge<Widget>, const Widget&);
|
||||
void did_add_widget(Badge<Widget>, Widget&);
|
||||
void did_remove_widget(Badge<Widget>, Widget&);
|
||||
|
||||
Window* find_parent_window();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue