[comp.windows.x.motif] xset bc for PanedWindow widget in R4

erc@pai.UUCP (Eric Johnson) (09/11/90)

I don't know if this is old hat or not, but I thought the
information might be useful...

I'm running Motif 1.0 on an X11 Release 3-based system (HP 825).
I'm displaying my Motif programs on an R4-based X server (Sun SPARC).

And, I noticed that the PanedWindow widget causes a program crash
whenever I try to adjust the pane's separator.  That is, I create
a simple PanedWindow widget with two simple child widgets (a pushbutton
and a label).  The PanedWindow has separatorOn set to True,
as well as allowResize set to True. If I try to adjust the pane's
sash and change the relative size of the paned areas, I get an
X error on the GrabPointer request. The program dies, of course.
I suspect that Motif 1.0 is passing a bad event mask (one of those
gotchas in moving to R4). 

Anyway, enabling "Bug Compatibility" mode in the R4 server, with

	xset bc

seems to fix the whole situation.  I don't really consider this a bug
in Motif (and its an old verion of Motif at that). I just thought
that if someone else gets bitten by this that this information
might help.

Have fun,
-Eric

-- 
Eric F. Johnson               phone: +1 612 894 0313    BTI: Industrial
Boulware Technologies, Inc.   fax:   +1 612 894 0316    automation systems
415 W. Travelers Trail        email: erc@pai.mn.org     and services
Burnsville, MN 55337 USA