On Fri, 16 Nov 2001, John Levon wrote: > On Fri, Nov 16, 2001 at 04:33:39PM +1000, Allan Rae wrote: > > > I can reproduce this with xforms-0.88.1, linux-2.2.19, XFree86-4.0.3. > > I also noticed an X-windows(?) warning message printed for every case > > THere are people who would murder you for calling it "X-windows" !
It was Friday. They should get a life. > > below: > > BadMatch (invalid parameter attributes) > > that's no warning, it's a big error. We probably only survive it because > xforms introduces error handlers for some internal stuff. We survive just long enough crash in X. So I suspect that it is an X error handler not an XForms error handler. > > #9 0x0021de07 in XDrawString () from /usr/X11R6/lib/libX11.so.6 > > #10 0x08071eb2 in Painter::text (this=0x82a957c, x=74, y=48, s=0x830e740 >"Inventory [o\021", ls=9, f=@0xbfffeca8) at Painter.C:313 > > I don't know much about how dual head works, but if we're trying to > draw onto a window with DefaultScreen from the fl_get_display(), then > if the window is on another screen, it's going to cause an X error, isn't > it ? But :0.0 has default_screen=0 while :0.1 has default_screen=1 So I don't see that any of the "publically" defined members of Display can be causing the problem. There are plenty of private members of Display but they are _really_ private since their definitions don't appear in the public headers. Allan. (ARRae)