namespace wm {
namespace {
-App *g_app;
using nlohmann::json;
id_alloc{},
pending_events(false),
policy{} {
- assert(g_app == nullptr);
- g_app = this;
-
try {
{
auto l = load_layer_map(
}
}
-App::~App() { g_app = nullptr; }
-
int App::init() {
if (!this->display->ok()) {
return -1;