summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {