aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.cpp')
-rw-r--r--src/app.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.cpp b/src/app.cpp
index 58a62ee..c9abd2d 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -33,7 +33,7 @@ struct wm::area area_from_json(json const &j) {
return wm::area{
j["name"].get<std::string>(),
{
- get<uint32_t>(j["width"]), get<uint32_t>(j["height"]),
+ get<int32_t>(j["width"]), get<int32_t>(j["height"]),
get<int32_t>(j["x"]), get<int32_t>(j["y"]),
},
get<uint32_t>(j["zorder"]),