Xref: utzoo comp.windows.x:26174 comp.windows.misc:1595 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!uwm.edu!wuarchive!usc!apple!umt!cs__sjh From: cs__sjh@umt.UUCP (Jeffrey Heng) Newsgroups: comp.windows.x,comp.windows.misc Subject: Window Configuration Callback Keywords: Motif Message-ID: <1079@umt.UUCP> Date: 25 Aug 90 21:47:01 GMT Followup-To: poster Organization: University of Montana CIS - Missoula, MT Lines: 16 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.