On Wed, 28 Jul 2004, ik wrote:

> I'm using XCreateSimpleWindow in order to create a new window.
> No matter what i set inXSizeHints to use with XSetStandardProperties, cusing the 
> window when i change it size to exit by the message
>
> Xlib: connection to ":0.0" refused by server
> Xlib: Maximum number of clients reached
>
> The trace for the error, made me to find that it happned inside the xlib sheard 
> libraries... but it something i'm doing.
> Is there a good guide, or someone can help me understand the use of XSizeHints 
> and/or XSetStandardProperties better then the original
> documentation ?

you could look at the following tutorial, and look for the use of
XSizeHints (in a different way then you seem to try to apply it) - which
appeared to be working when it was written ;)

http://www.actcom.co.il/~choo/lupg/tutorials/xlib-programming/xlib-programming-2.html#wm_window_size

(there's also an example program that demonstrates this and a few other
window-manager hints). (please ignore the warnings - the source dates back
to 99 or 2001 - when compiles allowed 'main' to be 'void'). just go look
at the use of 'win_size_hints'. change the minimum to something other then
zero, in order to see that it indeed works.

let me know if it helped.

-- 
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to