From: hyunho Date: Tue, 12 Feb 2019 02:36:42 +0000 (+0900) Subject: Set surface owner for watch ANR X-Git-Tag: accepted/tizen/unified/20190218.063947~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F80%2F199480%2F1;p=platform%2Fcore%2Fappfw%2Fscreen-connector.git Set surface owner for watch ANR Change-Id: I7a7d673847f1ae15cea44c7dab33c1ed003356f5 Signed-off-by: hyunho --- diff --git a/screen_connector_remote_surface_evas/remote_surface_evas.cc b/screen_connector_remote_surface_evas/remote_surface_evas.cc index 095fcb1..2f13748 100644 --- a/screen_connector_remote_surface_evas/remote_surface_evas.cc +++ b/screen_connector_remote_surface_evas/remote_surface_evas.cc @@ -485,7 +485,8 @@ void RemoteSurfaceEvas::OnBufferChanged(int type, std::shared_ptr tbm, } else { unsigned int win_id = ecore_wl2_window_id_get(wlWin); impl_->winVisibility_map_[win_id] = GetVisibility(win_id); - if (impl_->parent_->GetType() == RemoteSurface::WIDGET) + if (impl_->parent_->GetType() == RemoteSurface::WIDGET || + impl_->parent_->GetType() == RemoteSurface::WATCH) impl_->parent_->SetSurfaceOwner(ecore_wl2_window_surface_get(wlWin)); } isAdded = true;