Inherit workspace informat

This commit is contained in:
Mike Wallio
2020-10-23 16:14:15 -04:00
parent edb1a864f0
commit 20e2cae81c
3 changed files with 30 additions and 3 deletions

View File

@@ -22,6 +22,9 @@ void dump_tree_container(const i3ipc::container_t& c, std::string& prefix) {
std::cout << prefix << "current_border_width = " << c.current_border_width << std::endl;
std::cout << prefix << "layout = \"" << c.layout_raw << "\"" << std::endl;
std::cout << prefix << "percent = " << c.percent << std::endl;
if (c.workspace.has_value()) {
std::cout << prefix << "current_workspace = " << c.workspace.value() << std::endl;
}
if (c.urgent) {
std::cout << prefix << "urgent" << std::endl;
}