Add policy table generated by ZIPC for EXAMPLE
[apps/agl-service-windowmanager.git] / src / wayland_ivi_wm.cpp
index 5cc16b2..75ecbbd 100644 (file)
@@ -14,9 +14,6 @@
  * limitations under the License.
  */
 
-#include <utility>
-
-#include "util.hpp"
 #include "wayland_ivi_wm.hpp"
 #include "hmi-debug.h"
 
@@ -438,6 +435,11 @@ 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)
 {