LibGUI: Remove unused hook Window::on_activity_change
This commit is contained in:
parent
5c0c4f4b2d
commit
8b90e8d08b
Notes:
sideshowbarker
2024-07-19 00:05:42 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/8b90e8d08ba
2 changed files with 0 additions and 3 deletions
Libraries/LibGUI
|
@ -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)
|
||||
|
|
|
@ -87,7 +87,6 @@ public:
|
|||
Function<void()> on_close;
|
||||
Function<CloseRequestDecision()> on_close_request;
|
||||
Function<void(bool is_active_input)> on_active_input_change;
|
||||
Function<void(const bool is_active)> on_activity_change;
|
||||
|
||||
int x() const { return rect().x(); }
|
||||
int y() const { return rect().y(); }
|
||||
|
|
Loading…
Add table
Reference in a new issue