Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!zaphod.mps.ohio-state.edu!uwm.edu!cs.utexas.edu!rice!rice!sun-spots-request From: pop@linus.mitre.org (Paul Perry) Newsgroups: comp.sys.sun Subject: Event problems with OpenWindows2.0 Keywords: Windows Message-ID: <1990Nov4.025852.567@rice.edu> Date: 4 Nov 90 03:00:00 GMT Sender: sun-spots-request@rice.edu Organization: Sun-Spots Lines: 29 Approved: Sun-Spots@rice.edu Originator: spots@titan.rice.edu X-Sun-Spots-Digest: Volume 9, Issue 353, message 5 X-Original-Date: 24 Oct 90 13:01:08 GMT I have a couple of questions about the events generated by the OpenWindows2.0 server: 0) Background: Using a Sun4/330 GX with an openwindows2.0 server and uwm (for old times sake). My event mask is: xswa.event_mask = ExposureMask | StructureNotifyMask | ButtonPressMask | ButtonReleaseMask | ButtonMotionMask | KeyPressMask | PointerMotionHintMask; xswa.do_not_propagate_mask = VisibilityChangeMask; 1) I seem to be getting EnterNotify events every time I move the mouse (with all buttons up), even when I don't think I am entering any subwindows. Why ? 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 ? I will post more code of the event loop if necessary. Thanks, Paul. Paul O. Perry MITRE Corporation Phone: (617) 271-5230 Burlington Road ARPA: pop@mitre.org Bedford, MA 01730 UUCP: ...{decvax,philabs,genrad}!linus!pop