Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm running Eclipse and I detached some of the windows. Now I have 4 windows linked to Eclipse. What I need is to be able to identify each individual window and be able to control it.

If I run tools like: xprop, xwininfo, or wmctrl -l I can retrieve the WM_CLASS and WM_NAME for the main window but I can't get them for the other 3 child windows.

How can I retrieve the WM_NAME and WM_ROLE for all 4 windows?

share|improve this question
add comment

2 Answers

In searching for an answer to your question I ran across this very in depth article on window matching that could be very helpful. You may find that Eclipse is to blame for not following the correct naming standards in generating the child windows making this a bug for which you should request a fix from the developers.

share|improve this answer
    
I've used your guidance to further my research, but the question still stands. Thanks. –  slybloty Jul 24 '12 at 18:18
add comment

Using Intrinsics can solve your problem of getting WM_WINDOW_ROLE and WM_NAME.

share|improve this answer
    
for people who down voted C language interface index of Intrinsics –  MahmutBulut Jul 18 '12 at 15:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.