[Xpert]how to fix window

2002-07-09 Thread sun zongjun

Hi:
I want to put the window in fixed position and size. I don't want to 
let user to resize
and drag the window in the desktop to anywhere. How can I do that? I used
XSetWMNormalHints() and set the XSizeHints field flags (USPosition | 
USSize),
But it can't help me?  What should I do?

   Thank you for your help

   Sun Zongjun

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



[Xpert]can't work either

2002-07-09 Thread sun Zongjun

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



[Xpert]SOS

2002-06-25 Thread sun zongjun

Hi:
 I have used  the XFree86 4.2.0 which support the Chinese GBK encoding.
I have compiled it in Tiny mode. When I run xcin (one of the chinese input
method) .The input server xcin starts perfectly.But it test 
program(testprog)
can't work. After tracing it, I found the shared library ximcp.so.2 
located under
the $(X11R6)/lib/X11/locale/common/ directory can't work.
I used the Chinese locale and set LANG=zh_CN.GBK. So I copied the
Redhat 7.3 (which is my default OS) 
/usr/X11R6/lib/X11/locale/common/ximcp.so.2
into my $(TinyX)/lib/X11/locale/common . then I starts the xcin and 
testprog,now
it works well. I was lost in it.How could I do to tackle this problem.

 Thanks a lots
   
Sun Zongjun

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



[Xpert]TinyX and Truetype

2002-06-10 Thread sun zongjun

HI:
   Thanks for the wonderful works of the Xfree86 team for all of us. I 
now use the
XFree86 4.2.0 for TinyX. It look so good. Now  I want to know whether Tiny X
support Truetype font. If so, what is  the difference of the West and 
CjK font in TTF.

Sun Zongjun

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



[Xpert]Portrait

2002-06-05 Thread sun zongjun

Hi:
I want to rotate XServer with 90 degrees or 180---portrait or 
landscape display mode.
How can I do it?

Sun

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