X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=staging%2Fwindowmanager.git;a=blobdiff_plain;f=src%2Fapp.cpp;h=a4b22f5318d541864f30d0315dc8c05a8da0eb93;hp=246b629a5258fc2eb8db747877fe784376b8a2a4;hb=0c3f825eff4c28ebfeddb92d5dcbe42967b9b9ff;hpb=ef6f72786ab7c7791a0dce9b63412b04b9351ddb diff --git a/src/app.cpp b/src/app.cpp index 246b629..a4b22f5 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -520,6 +520,7 @@ char const *App::api_deactivate_surface(char const *drawing_name) { this->try_layout(state, LayoutState{-1, -1}, [&] (LayoutState const &nl) { this->deactivate(*surface_id); state = nl; + this->layout_commit(); }); } } else if (state.sub == *surface_id) {