drmgc / i3ipcpp

MIT License
25 stars 24 forks source link

Support for other events #3

Closed notfound4 closed 8 years ago

notfound4 commented 8 years ago

Support for checking for user defined events at the same time as checking for i3 events (like input in a fifo file, data on cin, etc...). If one of those events is catch, a callback function (given by the user) is called.

Useful if you want to use this library to create a panel.

drmgc commented 8 years ago

Please, atomize your commit; It's too complex. And describe more about "user defined events". If I've understood them right, they are not in the jurisdiction of i3ipc++.

notfound4 commented 8 years ago

Well, the problem I faced was :

So, I'll revert my changes and add this method. Sorry for the time loss.