Results 1 to 2 of 2
Hi, I am writing a Linux app which involves a functionality to detect active and inactive windows. For that is there a C/C++ code which could be used for detect ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-25-2009 #1
- Join Date
- May 2009
Active and Inactive Windows
I am writing a Linux app which involves a functionality to detect active and inactive windows. For that is there a C/C++ code which could be used for detect the active and inactive windows in Linux OS. I want a solution which could be used in any Linux distro, or, maybe, on the most widely used distributions atleast.
Also, as far as I assume KDE and GNOME being different Window Managers should have different mechanisms/APIs to get the Active and Inactive windows status. So I do not want to use those APIs as user could work in any of these.
Please correct me if I am wrong.
I really appreciate any help.
- 05-25-2009 #2
there was some effort going on to create a common base protocol for window management. I know Metacity (GNOME) and some KDE WMs obey it.
Inter-Client Communication Conventions Manual - Wikipedia, the free encyclopedia
Extended Window Manager Hints - Wikipedia, the free encyclopediaDebian GNU/Linux -- You know you want it.