diff options
Diffstat (limited to 'src/layers.cpp')
-rw-r--r-- | src/layers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layers.cpp b/src/layers.cpp index 0110f17..8f79451 100644 --- a/src/layers.cpp +++ b/src/layers.cpp @@ -67,7 +67,7 @@ struct result<struct layer_map> to_layer_map(nlohmann::json const &j) { auto msi = j.find("main_surface"); if (msi != j.end()) { - stl.main_surface = get<int>((*msi)["surface_id"]); + stl.main_surface = (*msi)["surface_id"]; } // Check lookup |