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 Sun Zongjun _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert