Xt can't handle UTF8 string ?

2009-01-12 Thread hd
Hi, Is it possible to display an UTF8 string with Xt verbs ? I try to use "XtNinternational" argument without success Maybe, I must initialize the App with a special Xt verb before using XtNinternational ? it is my sample, for testing purpose int main (int argc, char **argv) { Widget

Re: Xt can't handle UTF8 string ?

2009-01-12 Thread hd
Samuel Thibault a écrit : > hd, le Mon 12 Jan 2009 13:06:36 +0100, a écrit : > >> Is it possible to display an UTF8 string with Xt verbs ? >> >> I try to use "XtNinternational" argument without success >> Maybe, I must initialize the App with a special X

how to display a XImage with 16bits depth in a drawable with a depth of 24bits ?

2009-02-27 Thread hd
Hi, I my app, I receive a raw image in 16 bits depth. My defaut visual have a depth of 24 bits (and all other Visual have 24 or 32bits depth on my X server). To display the bitmap I try to create an XImage with XCreateImage() and display it with XPutImage(). But X displays a "bad match" error

Re: how to display a XImage with 16bits depth in a drawable with a depth of 24bits ?

2009-03-02 Thread hd
Glynn Clements a écrit : > hd wrote: > > >> I my app, I receive a raw image in 16 bits depth. >> My defaut visual have a depth of 24 bits (and all other Visual have 24 >> or 32bits depth on my X server). >> >> To display the bitmap I try to create an XIm

how to change the default text in the titlebar of Xephyr window ?

2009-03-10 Thread hd
Hello, By defaut, Xephyr uses this text in its titlebar "Xephyr on (ctrl+shift grabs mouse and keyboard)" Is it possible to change this title from * the command line ? * a configuration file ? thanks ___ xorg mailing list xorg@lists.freede

How to restrict X server to localhost ?

2009-03-18 Thread hd
I'd like my X server is listening only on localhost Is there a command line option (or config file option) to limit the scope of the listening socket of X server ? there is '-nolisten' but this option seems disable the TCP stack thanks, ___ xorg m