feat(linux/kwin): log object serial when available on stream creation (#5299)

This commit is contained in:
Kishi
2026-06-23 17:28:52 +02:00
committed by GitHub
parent 2438a9bd7c
commit fdf1363201
+5 -1
View File
@@ -425,7 +425,11 @@ namespace kwin {
return -1;
}
BOOST_LOG(info) << "[kwingrab] stream created, PipeWire node "sv << out_node_id;
if ((out_objectserial & SPA_ID_INVALID) == SPA_ID_INVALID) {
BOOST_LOG(info) << "[kwingrab] Pipewire stream created: node="sv << out_node_id;
} else {
BOOST_LOG(info) << "[kwingrab] Pipewire stream created: objectserial="sv << out_objectserial << " (node="sv << out_node_id << ")"sv;
}
if (out_params->width == 0 || out_params->height == 0) {
BOOST_LOG(error) << "[kwingrab] could not determine output dimensions"sv;