KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I would like to know how can I ask X11 which windows has the focus. And if for any reason my own application (that may be visible or not) got the focus I want be able to let the former windows get the focus again. For instance, my application is running with many others (e.g. firefox, gvim, nautilus, ...) Suppose that at first firefox has focus and that the user clicked on my app which now has the focus. I want that my application put the focus on firefox again. Does anyone knows how to achieve this? Books recommendations would be very nice.
Tags (comma-separated)
Save Edits
Cancel