wayland: make genivi::rect::width and height int32
[staging/windowmanager.git] / src / app.cpp
index 58a62ee..c9abd2d 100644 (file)
@@ -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"]),