1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

WindowServer: Make Window::event() protected

This commit is contained in:
Andreas Kling 2021-03-28 11:25:57 +02:00
parent 247717431d
commit 71a9a14c17
2 changed files with 2 additions and 3 deletions

View file

@ -63,7 +63,7 @@ void AppletManager::event(Core::Event& event)
if (!applet->rect_in_menubar().contains(mouse_event.position()))
continue;
auto local_event = mouse_event.translated(-applet->rect_in_menubar().location());
applet->event(local_event);
applet->dispatch_event(local_event);
}
}