Path: utzoo!attcan!uunet!bloom-beacon!odi.COM!bob From: bob@odi.COM (Bob Miner) Newsgroups: comp.windows.x Subject: Re: OSF/Motif XmDrawingArea Widget. Message-ID: <8909201246.AA03209@hendrix.odi.com> Date: 20 Sep 89 12:46:11 GMT References: <254@bii.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 28 > Lately I've been playing around with release 1.0 of OSF's Motif Toolkit > and have encountered some strange behavior with one of the widgets. > When displaying some graphics in the XmDrawingArea widget, repeated > expose events are generated. I don't mean one or two...but what seems > to be an infinite amount of them. My guess is that either the event > is not being deleated from the queue or for some reason, expose events > are being generated. Other events do get handled but this is quite > distracting seeing one of the windows constantly blink. If anyone > has any comments please direct them to me. I will post the results > at a later time. I've been using Motif 1.0's XmDrawingArea widget extensively for almost a month and have not encountered the behavior you're seeing. One thing you might try is running the motifgif demo, which uses an XmDrawingArea widget, in the demos/motifgif directory. That demo works fine (and actually looks very nice - look at the challenger.gif file on a color workstation) on our machines (Sun3, SunOS 4.0.3). So if you see the same problem on your machine, then that might indicate a problem with how Motif and/or X11R3 was built on your machine. If you don't see the same problem, then that indicates a problem with your code, such as somehow you're generating an expose event when handling an expose event. Bob Miner Object Design Inc. Internet: bob@odi.com 1 New England Executive Park Or: odi!bob@uunet.uu.net Burlington, MA 01803 Or: odi!bob@eddie.mit.edu (617) 270-9797