aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 89976ea..8e051c6 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -672,7 +672,10 @@ void windowmanager_change_area_size(afb_req req) noexcept
}
change_req.area_req[name] = rect;
}
- g_afb_instance->wmgr.api_change_area_size(change_req);
+ if(change_req.area_req.size() != 0)
+ {
+ g_afb_instance->wmgr.api_change_area_size(change_req);
+ }
afb_req_success(req, nullptr, nullptr);
}
free(appid);