diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-12 11:29:39 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-09-12 11:29:39 +0200 |
commit | 0c3f825eff4c28ebfeddb92d5dcbe42967b9b9ff (patch) | |
tree | f0e0e26cac57818749ddacf5407af04a329ac243 | |
parent | ef6f72786ab7c7791a0dce9b63412b04b9351ddb (diff) |
App: fix missing layout_commit() on single-surface deactivate
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r-- | src/app.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |