mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 19:05:08 +00:00
LibGUI: Remove unused hook Window::on_activity_change
This commit is contained in:
parent
5c0c4f4b2d
commit
8b90e8d08b
2 changed files with 0 additions and 3 deletions
|
@ -406,8 +406,6 @@ void Window::handle_input_entered_or_left_event(Core::Event& event)
|
|||
void Window::handle_became_active_or_inactive_event(Core::Event& event)
|
||||
{
|
||||
m_is_active = event.type() == Event::WindowBecameActive;
|
||||
if (on_activity_change)
|
||||
on_activity_change(m_is_active);
|
||||
if (m_main_widget)
|
||||
m_main_widget->dispatch_event(event, this);
|
||||
if (m_focused_widget)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue