mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-13 06:32:54 +00:00
Taskbar: More bringup work. We now see a basic window list.
This commit is contained in:
parent
ea801a99dc
commit
96104b5524
Notes:
sideshowbarker
2024-07-19 14:49:55 +09:00
Author: https://github.com/awesomekling
Commit: 96104b5524
20 changed files with 339 additions and 12 deletions
|
@ -27,6 +27,10 @@ void GWidget::child_event(GChildEvent& event)
|
|||
if (event.child() && event.child()->is_widget() && layout())
|
||||
layout()->add_widget(static_cast<GWidget&>(*event.child()));
|
||||
}
|
||||
if (event.type() == GEvent::ChildRemoved) {
|
||||
if (event.child() && event.child()->is_widget() && layout())
|
||||
layout()->remove_widget(static_cast<GWidget&>(*event.child()));
|
||||
}
|
||||
return GObject::child_event(event);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue