[comp.windows.x] Window Configuration Callback

cs__sjh@umt.UUCP (Jeffrey Heng) (08/26/90)

I would like my own function to be invoked upon resizing of a window by using
an appropriate Windowmanager callback.  I looked thru' the Window manager and
the Motif callbacks for BulletinBoard, DrawingArea, Toplevelshells and couldn't
find any.  I would like the callback to communicate with the WindowManager 
instead of to the Widgets, as I believe the Window Manager would be informed 
of any size changes too. I had tried using plain X events (StructureNotify mask
and a Configure event handler) but that didn't work out too well as I get too
many Configure event notifications.  My widget hierarchy  is ToplevelShell->
BulletinBoard->DrawingArea.  I'm using Interactive's X and Motif 1.0 and 
ISC UNIX 2.2.   

I've also encountered a "PROBLEM WITH PTR PACKET - OVERFLOW " message on the
console when  I run my X-graphics (mainly line-drawing primitives) program. 
Increasing the kernel parameters didn't help. Any ideas ? 
	Thanks.