[plasma/kwin] src/plugins/eis: plugins/eis: Set zones mapping_ids

David Redondo <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit b0fdd8b1e4832a95095a2b1f3cd1644a8e3163a5 by David Redondo.
Committed on 22/07/2026 at 09:52.
Pushed by vladz into branch 'master'.

plugins/eis: Set zones mapping_ids

These are freeform strings, that consumers can use to associate
them to video streams. Where the portal will provide the same
strings.

M  +1    -0    src/plugins/eis/eisbackend.cpp

https://invent.kde.org/plasma/kwin/-/commit/b0fdd8b1e4832a95095a2b1f3cd1644a8e3163a5

diff --git a/src/plugins/eis/eisbackend.cpp b/src/plugins/eis/eisbackend.cpp
index 897d3ca2cb7..64a1d6e79bb 100644
--- a/src/plugins/eis/eisbackend.cpp
+++ b/src/plugins/eis/eisbackend.cpp
@@ -184,6 +184,7 @@ eis_device *EisBackend::createAbsoluteDevice(eis_seat *seat)
         eis_region_set_offset(region, outputGeometry.x(), outputGeometry.y());
         eis_region_set_size(region, outputGeometry.width(), outputGeometry.height());
         eis_region_set_physical_scale(region, output->scale());
+        eis_region_set_mapping_id(region, output->name().toUtf8());
         eis_region_add(region);
         eis_region_unref(region);
     };
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.