i3ipc::I3Connection renamed to i3ipc::connection

This commit is contained in:
Sergey Naumov
2016-04-21 07:06:19 +03:00
parent b6f819cf42
commit 2d69c45495
3 changed files with 21 additions and 16 deletions

View File

@@ -28,7 +28,7 @@ void dump_tree_container(const i3ipc::container_t& c, std::string& prefix) {
int main() {
i3ipc::I3Connection conn;
i3ipc::connection conn;
for (auto& w : conn.get_workspaces()) {
std::cout << '#' << std::hex << w.num << std::dec
<< "\n\tName: " << w.name