summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:39 +0200
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>2017-09-12 11:29:39 +0200
commit0c3f825eff4c28ebfeddb92d5dcbe42967b9b9ff (patch)
treef0e0e26cac57818749ddacf5407af04a329ac243
parentef6f72786ab7c7791a0dce9b63412b04b9351ddb (diff)
App: fix missing layout_commit() on single-surface deactivate
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
-rw-r--r--src/app.cpp1
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) {