X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwayland_ivi_wm.cpp;h=cd0924b5e5ac09cef866fb70fbfc6b6a2d9d0223;hb=5c74a62af029d1138416a76a6d44d1711ce97ff6;hp=a059491e50bf91d03e32991ebfcb3e53afb0f050;hpb=50c81e80a48329b06775580b9bbda7ebb247d16b;p=apps%2Fagl-service-windowmanager-2017.git diff --git a/src/wayland_ivi_wm.cpp b/src/wayland_ivi_wm.cpp index a059491..cd0924b 100644 --- a/src/wayland_ivi_wm.cpp +++ b/src/wayland_ivi_wm.cpp @@ -601,6 +601,7 @@ void controller::surface_size_changed(uint32_t id, int32_t width, HMI_DEBUG("wm", "compositor::surface %s @ %d w %i h %i", __func__, id, width, height); this->sprops[id].size = size{uint32_t(width), uint32_t(height)}; + this->surfaces[id]->set_source_rectangle(0, 0, width, height); } void controller::surface_added_to_layer(uint32_t layer_id, uint32_t surface_id)