[comp.windows.x] backing_store WORKS fine now

hiebeler@turing.cs.rpi.edu (Dave Hiebeler) (04/21/89)

  Well, after Lots of poking around, and various problems,
I found out that some of the machines I was using had an older
version of the X server, and so I wasn't getting what I thought
I was.  In other words, backing_store does in fact work properly,
if you have the latest X server.  When I had compiled a test-server
without the changes to window.c, I was getting the newer version.
I suspected something like that might be happening, but it took
me forever to figure out just how it was happening.

  However, there was another problem, namely that the server would
freeze up completely on me when drawing lines (using Xlib routines)
in a box widget.  Someone here at RPI suggested that I draw lines
of width 0 instead of width 1, because whenever he drew lines of
width 1, his server froze.
  I changed all my line widths from 1 to 0 (lines of 0 width are
in fact drawn, contrary to what intuition might suggest).  Ho,
amazing, the X server no longer freezes!!

  With these 2 things working now, I am free to push ahead and
finish this X program now.  For those who are curious, its a
graphic user-interface to a parallel-architecture (interconnection
network) simulation environment which I developed with some other
people here over the past year.  The program will probably be
distributed sometime soon; if you're interested, send me a note,
I'll keep a list of interested people for when the thing is ready
to go out.

--
Dave Hiebeler             Internet: hiebeler@cs.rpi.edu  (preferred address)
Computer Science Dept.              hiebeler@itsgw.rpi.edu
Amos Eaton Bldg.            Bitnet: userfrzk@rpitsmts.bitnet
Rensselaer Polytechnic Institute / Troy, NY 12180-3590