X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps%2Fagl-service-windowmanager-2017.git;a=blobdiff_plain;f=src%2Fwayland_ivi_wm.cpp;fp=src%2Fwayland_ivi_wm.cpp;h=e0c395ce3eecbde63a295f70e6faa50bb3b149f2;hp=75ecbbdf8cd7c5b748cdff0121a7bd4bc3eef406;hb=320122bc177cccd69509d284a4c68c79a23e1753;hpb=f25e25114ab2ef7e3019bfe4ff9b65ff93c41b90 diff --git a/src/wayland_ivi_wm.cpp b/src/wayland_ivi_wm.cpp index 75ecbbd..e0c395c 100644 --- a/src/wayland_ivi_wm.cpp +++ b/src/wayland_ivi_wm.cpp @@ -621,19 +621,12 @@ void controller::surface_created(uint32_t id) this->surfaces[id] = std::make_unique(id, this); this->chooks->surface_created(id); - // TODO: If Clipping is necessary, this process should be modified. - { - // Set surface type:IVI_WM_SURFACE_TYPE_DESKTOP) - // for resizing wayland surface when switching from split to full surface. - ivi_wm_set_surface_type(this->proxy.get(), id, IVI_WM_SURFACE_TYPE_DESKTOP); - - // Set source reactangle even if we should not need to set it - // for enable setting for destination region. - this->surfaces[id]->set_source_rectangle(0, 0, this->output_size.w, this->output_size.h); + // Set surface type:IVI_WM_SURFACE_TYPE_DESKTOP) + // for resizing wayland surface when switching from split to full surface. + ivi_wm_set_surface_type(this->proxy.get(), id, IVI_WM_SURFACE_TYPE_DESKTOP); - // Flush display - this->display->flush(); - } + // Flush display + this->display->flush(); } }