wjd wrote:
>       I works on redhat8,how can i get a window's name which contains a compound 
> text in X11 program?
>       I has tried:
>               XGetWindowProperty(Display*,Window,XA_WM_NAME,0,(long)BUFSIZ,
>                       False,XA_STRING,&actual_type,&actual_format,
>                       &nitems,&leftover,&return_data);
>       it return Success,but return_data is empty, this problem also exist when i 
> wnat to get _NET_WM_NAME property.

Have you tried code like the bits recently checked in to
xwininfo in the XFree86 CVS?  Take a look at:

http://cvsweb.xfree86.org/cvsweb/xc/programs/xwininfo/xwininfo.c.diff?r1=1.9&r2=1.10

-- 
        -Alan Coopersmith-         [EMAIL PROTECTED]
         Sun Microsystems, Inc.    -     Sun Software Group
         User Experience Engineering: G11N: X Window System


_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to