Omit std::string to string
[apps/agl-service-windowmanager.git] / src / wayland_ivi_wm.cpp
index 2a27d8c..48d7bb4 100644 (file)
@@ -435,11 +435,6 @@ void layer::set_visibility(uint32_t visibility)
     ivi_wm_set_layer_visibility(this->parent->proxy.get(), this->id, visibility);
 }
 
-void layer::set_source_rectangle(int32_t x, int32_t y, int32_t width, int32_t height)
-{
-    ivi_wm_set_layer_source_rectangle(this->parent->proxy.get(), this->id, x, y, width, height);
-}
-
 void layer::set_destination_rectangle(int32_t x, int32_t y,
                                       int32_t width, int32_t height)
 {
@@ -615,6 +610,7 @@ void controller::surface_stats_received(uint32_t surface_id,
 {
     HMI_DEBUG("wm", "compositor::surface %s @ %d f %u pid %u",
               __func__, surface_id, frame_count, pid);
+    this->sprops[surface_id].pid = pid;
 }
 
 void controller::surface_created(uint32_t id)