X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwayland_ivi_wm.cpp;h=75ecbbdf8cd7c5b748cdff0121a7bd4bc3eef406;hb=8ab10aaafc6fb3dc7bbad755dce9b4bdaa41f287;hp=6a1c84ab64c0d6c636286ccb5328a246c6270989;hpb=be9cbe2c4d0bc0f65cbe08de2bad3eb6e7f248c0;p=apps%2Fagl-service-windowmanager.git diff --git a/src/wayland_ivi_wm.cpp b/src/wayland_ivi_wm.cpp index 6a1c84a..75ecbbd 100644 --- a/src/wayland_ivi_wm.cpp +++ b/src/wayland_ivi_wm.cpp @@ -435,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) {