Added a method to get access to the i3 file descriptor

This commit is contained in:
notfound4
2016-05-09 21:04:12 +02:00
parent fa0faab8d5
commit d2d90107aa
2 changed files with 10 additions and 0 deletions

View File

@@ -410,4 +410,8 @@ bool connection::send_command(const std::string& command) const {
#undef i3IPC_TYPE_STR
}
int32_t connection::get_file_descriptor() {
return m_event_socket;
}
}