How to switch the FOCUS between any two application.
Can anyone help me in providing the change Focus program or logic for switching between any two application.
There is X11 API's like XGetInputFocus and XsetInputFocus etc.
I have tried the sample code using these API's but i did not get the desired output.
Actually i was trying to make an Soft KeyBoard (virtual)application in which i need Focus trasfer mechanism to enter or send the key event as an input to another application.
Thanks in advance. Please Help.