On Sunday 06 October 2002 11:58, Martin Egholm Nielsen wrote:
> Hi again,
>
> >>Ok, I've grapped the code from xprop and I can now select a
> >>window...
> >>Next, I need to get its events and learn how to write some
> >>text inside my new super cool looking window (!).
> >>But first of all, I need to figure out how the h*ll I
> >>prevent my program from quiting when I reach the end og main :o)
>
> Ok, now I've prevented the program from quiting; AND it now
> gets the "ConfigureNotify"-XEvents, as well - so far so good...
>
> Where can I actually find some thrilling documentation about
> the different Xlib-classes? E.g. the XEvent class and its
> properties?
>

this is C friend, no classes (-:

Go to the local used bookstore or place that sells old college texts.  The 
O'Reilly Xlib books were printed around 1990 and are still the only 
definitive text.  All of the new books focus on GTK, QT, etc.  This is why 
writing window managers takes more skill and time -- there are very little 
intro docs.

> > Checkout the test_code module from blackbox cvs.  There are numerous tiny
> > X programs there.  While I would not advocate using their style (they
> > were all written in 10 - 15 minutes each) the code has some ideas for
> > writing tiny X apps.
>
> And how was it I did that again? :o)
> I've tried the
>
> cvs
> -d:pserver:[EMAIL PROTECTED]:/cvsroot/
> blackboxwm login
>

you got line wrapped when you cut and pasted.  Type the whole thing in by hand 
and it should work just fine.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives:  http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]

Reply via email to