mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 11:20:03 +00:00
LibCore: Allow listening for multiple conditions using a single Notifier
While on it, implement currently unused Notifier::set_type correctly (but not efficiently) by re-registering Notifier in the EventLoop.
This commit is contained in:
committed by
Andrew Kaster
parent
5d1657f57f
commit
77e4f0d7d8
@@ -118,7 +118,7 @@ bool EventLoopManagerQt::unregister_timer(int timer_id)
|
||||
|
||||
static void qt_notifier_activated(Core::Notifier& notifier)
|
||||
{
|
||||
Core::NotifierActivationEvent event(notifier.fd());
|
||||
Core::NotifierActivationEvent event(notifier.fd(), notifier.type());
|
||||
notifier.dispatch_event(event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user