dmh@goanna.cs.rmit.oz.au (Darren Hosking) (09/25/90)
I am doing a pointer grab from the callback of a Command widget on button release after which the pointer is moved out of the Command widget (before exiting the callback). The problem is that when the pointer enters the Command widget the border is highlighted but once the grab is finished the pointer is outside the Command widget but the border is still highlighted. What is the best/easiest way to un-highlight the command widget border? The grab is as follows: if(GrabSuccess != XGrabPointer(dsp, root, True, PointerMotionMask|Button ReleaseMask, GrabModeAsync, GrabModeSync, None, curs, CurrentTime)) { . . . I do not want normal event processing to continue while the grab is active as I am doing rubber-banding on the root window. BTW, I am using X11R4 with fixes 1 thru 14. Thanks, dmh Darren Hosking ACSnet: dmh@goanna.cs.rmit.oz Department Of Computer Science ARPA: dmh%goanna.cs.rmit.oz.au@uunet.uu.net RMIT CSNET: dmh%goanna.cs.rmit.oz.au@australia GPO Box 2476V UUCP: ...!uunet!goanna.cs.rmit.oz.au!dmh Melbourne Vic., Australia 3001 PH: +61 3 660 3299 FAX: +61 3 662 1617