fix(sway/window): check output recursively

This commit is contained in:
Alex
2019-06-14 10:57:22 +02:00
parent 11bbc3b24d
commit 486b5a5d38
2 changed files with 9 additions and 5 deletions

View File

@ -21,7 +21,7 @@ class Window : public ALabel, public sigc::trackable {
void onEvent(const struct Ipc::ipc_response&);
void onCmd(const struct Ipc::ipc_response&);
void worker();
std::tuple<std::size_t, int, std::string, std::string> getFocusedNode(const Json::Value& nodes);
std::tuple<std::size_t, int, std::string, std::string> getFocusedNode(const Json::Value& nodes, std::string output);
void getTree();
const Bar& bar_;