Re: xlib -> XSizeHints problems

From: ik (kanerido_at_nonexisting.hamakor.org.il)
Date: Wed 28 Jul 2004 - 21:07:28 IDT


Hi,

Just found out what cusing it (Finally), the callback function for drawing ...now i start to see what make it crush...

On Wednesday 28 July 2004 17:29, ik wrote:
> Hi,
>
> It is still crush on resizing... :(
> You can obtain my last change of code in: :pserver:anonymous_at_cvs.sourceforge.net:/cvsroot/ikhebtools-fpc/fbidi-fpc/src
> i might do something wrong that i do not seems to see... :(
>
> On Wednesday 28 July 2004 11:59, guy keren wrote:
> >
> > 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.
> >
>
> Thank you for the help
>
> Ido

Thanks for the help

Ido

-- 
Skill and confidence are an unconquered army.
    George Herbert
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il


This archive was generated by hypermail 2.1.7 : Wed 28 Jul 2004 - 21:18:46 IDT