GenericCommunicator: Add screenID to command in SetRenderOrderOfLayers
authorNobuhiko Tanibata <ntanibata@jp.adit-jv.com>
Mon, 17 Dec 2012 07:54:40 +0000 (16:54 +0900)
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Wed, 9 Jan 2013 12:59:14 +0000 (04:59 -0800)
Signed-off-by: Nobuhiko Tanibata <ntanibata@jp.adit-jv.com>
LayerManagerPlugins/Communicators/GenericCommunicator/src/GenericCommunicator.cpp

index f08150b..99687d9 100644 (file)
@@ -2259,10 +2259,12 @@ void GenericCommunicator::SetRenderOrderOfLayers(t_ilm_message message)
     t_ilm_uint clientPid = m_executor->getSenderPid(clientHandle);
     uint* array = NULL;
     int length = 0;
+    uint screenID = 0;
 
     m_ipcModule.getUintArray(message, &array, &length);
+    m_ipcModule.getUint(message, &screenID);
 
-    t_ilm_bool status = m_executor->execute(new ScreenSetRenderOrderCommand(clientPid, array, length));
+    t_ilm_bool status = m_executor->execute(new ScreenSetRenderOrderCommand(clientPid, screenID, array, length));
     if (status)
     {
         response = m_ipcModule.createResponse(message);