On Wed, 10 Jul 2002, sun Zongjun wrote:

> Hi:
>       Thank you for your help. But My window still has decoration and 
> you can
> resize it. What should I do? Following is my cods:
> 
>            unsigned long vmask = 0;
>             XSetWindowAttributes swa;
>             vmask |= CWOverrideRedirect;
>             swa.override_redirect = 0;
>             XChangeWindowAttributes(dpy,wTop,vmask,&swa);
> 
>             Thanks again
> 

   You want to enable override_redirect.  That is,

  swa.override_redirect = True;


                        Mark.
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to