Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!uwvax!romano.cs.wisc.edu!dave From: dave@romano.cs.wisc.edu (Dave Cohrs) Newsgroups: comp.windows.x Subject: Pointer grab and LeaveNotify events Message-ID: <7507@spool.cs.wisc.edu> Date: 11 May 89 18:01:14 GMT Sender: news@spool.cs.wisc.edu Reply-To: dave@romano.cs.wisc.edu (Dave Cohrs) Organization: U of Wisconsin CS Dept Lines: 34 I used to think it was just the toolkit, but now I see it's a general problem... Environment: X.V11R3 on either a Sun or a VS3200 under various OS versions It appears that when the Pointer is grabbed, the server forgets to send clients LeaveNotify events when the pointer leaves the client's window. For example: - start up xmh, move the mouse into a Command widget. - Now, I run twm, and have Meta mapped to pop up a menu. This causes the a XGrabPointer(). - move the mouse out of the xmh window, and also out of the twm menu. - release the button. Now, the menu goes away, but the Command widget stays highlighted. This happens with other widgets and windows as well (for example, the emacs text cursor remains highlighted given the same set of events). However, the command widget is even more broken. If I warp the pointer out of my emacs window, the text cursor becomes an empty box. But, if I warp the pointer out of a Command widget, the widget is still highlighted. Any fixes? dave cohrs -- Dave Cohrs +1 608 262-6617 UW-Madison Computer Sciences Department dave@cs.wisc.edu ...!{harvard,rutgers,ucbvax}!uwvax!dave