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

Méven Car <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit b74589ad2927be14b01eb98f3a6e0a32a9d2e7d7 by Méven Car, on behalf of David Redondo.
Committed on 22/07/2026 at 10:55.
Pushed by meven into branch 'Plasma/6.7'.

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.


(cherry picked from commit b0fdd8b1e4832a95095a2b1f3cd1644a8e3163a5)

Co-authored-by: David Redondo <[email protected]>

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

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

diff --git a/src/plugins/eis/eisbackend.cpp b/src/plugins/eis/eisbackend.cpp
index 1f3b05ca18b..dd63bc848d7 100644
--- a/src/plugins/eis/eisbackend.cpp
+++ b/src/plugins/eis/eisbackend.cpp
@@ -180,6 +180,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.