When does XGetCommand(.) work???
thomas.luebking at gmx.net
Fri Jun 3 12:27:24 PDT 2005
I'm trying to query argv by WId (on user interaction, selecting window
similar to xwininfo)
However this does not work in many cases (it does for e.g. xterm or juk, but
not for konsole, OOo, kwrite, gnome-ding, ...), returned Status is 0.
XGetClassHint(.) however works everytime, while unfortunately the first char
of res_class seems to be upcased, so i cannot detect argv case correct (i
could assume that the first char needs to be lowercased, but hope for a
1. is there another way to detect argc i missed
2. if not, what's critical about XGetCommand(.) so that it does not work in
More information about the xorg