You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I3IPC_WARN("Got a unknown \"border\" property: \"" << border << "\". Perhaps its neccessary to update i3ipc++. If you are using latest, note maintainer about this")
82
+
}
83
+
84
+
container->layout = ContainerLayout::UNKNOWN;
85
+
std::string layout = o["layout"].asString();
86
+
87
+
if (layout == "splith") {
88
+
container->layout = ContainerLayout::SPLIT_H;
89
+
} elseif (layout == "splitv") {
90
+
container->layout = ContainerLayout::SPLIT_V;
91
+
} elseif (layout == "stacked") {
92
+
container->layout = ContainerLayout::STACKED;
93
+
} elseif (layout == "tabbed") {
94
+
container->layout = ContainerLayout::TABBED;
95
+
} elseif (layout == "dockarea") {
96
+
container->layout = ContainerLayout::DOCKAREA;
97
+
} elseif (layout == "output") {
98
+
container->layout = ContainerLayout::OUTPUT;
99
+
} else {
100
+
container->layout_raw = border;
101
+
I3IPC_WARN("Got a unknown \"layout\" property: \"" << layout << "\". Perhaps its neccessary to update i3ipc++. If you are using latest, note maintainer about this")
102
+
}
103
+
104
+
Json::Value nodes = o["nodes"];
105
+
if (!nodes.isNull()) {
106
+
IPC_JSON_ASSERT_TYPE_ARRAY(nodes, "nodes")
107
+
for (Json::ArrayIndex i = 0; i < nodes.size(); i++) {
I3IPC_WARN("Got a unknown \"border\" property: \"" << border << "\". Perhaps its neccessary to update i3ipc++. If you are using latest, note maintainer about this")
256
-
}
257
-
258
-
container->layout = ContainerLayout::UNKNOWN;
259
-
std::string layout = o["layout"].asString();
260
-
261
-
if (layout == "splith") {
262
-
container->layout = ContainerLayout::SPLIT_H;
263
-
} elseif (layout == "splitv") {
264
-
container->layout = ContainerLayout::SPLIT_V;
265
-
} elseif (layout == "stacked") {
266
-
container->layout = ContainerLayout::STACKED;
267
-
} elseif (layout == "tabbed") {
268
-
container->layout = ContainerLayout::TABBED;
269
-
} elseif (layout == "dockarea") {
270
-
container->layout = ContainerLayout::DOCKAREA;
271
-
} elseif (layout == "output") {
272
-
container->layout = ContainerLayout::OUTPUT;
273
-
} else {
274
-
container->layout_raw = border;
275
-
I3IPC_WARN("Got a unknown \"layout\" property: \"" << layout << "\". Perhaps its neccessary to update i3ipc++. If you are using latest, note maintainer about this")
276
-
}
277
-
278
-
Json::Value nodes = o["nodes"];
279
-
if (!nodes.isNull()) {
280
-
IPC_JSON_ASSERT_TYPE_ARRAY(nodes, "nodes")
281
-
for (Json::ArrayIndex i = 0; i < nodes.size(); i++) {
0 commit comments