Event problems with OpenWindows2.0
Paul Perry
pop at linus.mitre.org
Sun Nov 4 14:00:00 AEST 1990
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 at mitre.org Bedford, MA 01730
UUCP: ...{decvax,philabs,genrad}!linus!pop
More information about the Comp.sys.sun
mailing list