Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!sbi!zeus!bpa_su10!sivan From: sivan@bpa_su10.Sbi.Com (Sivan Mahadevan) Newsgroups: comp.windows.x Subject: Re: Event problems with OpenWindows2.0 Message-ID: <113@bpa_su56.bpa_su10.Sbi.Com> Date: 30 Oct 90 21:38:39 GMT References: <124194@linus.mitre.org> Organization: BPA - Salomon Brothers, NY Lines: 25 In article <124194@linus.mitre.org>, pop@linus.mitre.org (Paul Perry) writes: > I have a couple of questions about the events generated by the > OpenWindows2.0 server: > > 2) I seem to be executing the code for the MotionNotify event even > though no buttons are pressed. The behaviour I want is to select and > move a window when the a mouse button is pressed. What I get with > OpenWindows2.0 is subwindow movement all the time ! > > The code works fine under an X11R4 server, I do not get any of the > extra EnterNotify events. Anyone else run into this problem ? There are a number of bugs with the xnews server in OpenWindows 2.0 including one that might be causing the problem you are encountering. When a button is grabbed (i.e, betwen button press and button release) some events get discarded. We noticed that LeaveNotify events get discarded when a button is grabbed (this breaks Motif toggle-button widgets when using the default translations). We have not received a fix for this server bug yet, but Sun is aware of it. -- Sivan Mahadevan Salomon Brothers Inc Bond Portfolio Analysis Analytical Applications Group One New York Plaza 44th Floor 212-747-5418 New York NY 10004 sivan@bpa_su10.sbi.com uunet!sbi.com!bpa_su10!sivan