I'm developing a program where I need to control an inactive window by sending a couple of keys. I was wondering if there is any c/c++ library to do so on Ubuntu (and linux in general) ? I googled a lot but there seem to be a lots of examples and libraries for windows but non for linux environment.
Thanks