From b8a6e9fa9a6a31519dc31161868ab3972858969b Mon Sep 17 00:00:00 2001 From: Julian Bouzas Date: Wed, 10 Dec 2025 14:55:24 -0500 Subject: [PATCH] m-standard-event-source: Emit 'select-collection' event for all added objects This new event has higher priority than the 'added' event, and it is meant to be used by hooks that collect objects into collections. --- modules/module-standard-event-source.c | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/module-standard-event-source.c b/modules/module-standard-event-source.c index fba868b8..f85ca080 100644 --- a/modules/module-standard-event-source.c +++ b/modules/module-standard-event-source.c @@ -350,6 +350,7 @@ on_node_state_changed (WpNode *obj, WpNodeState old_state, static void on_object_added (WpObjectManager *om, WpObject *obj, WpStandardEventSource *self) { + wp_standard_event_source_push_event (self, "select-collection", obj, NULL); wp_standard_event_source_push_event (self, "added", obj, NULL); if (WP_IS_PIPEWIRE_OBJECT (obj)) {