Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cs.utexas.edu!milano!pp!razor!natraj From: natraj@razor.ACA.MCC.COM (Natraj Arni) Newsgroups: comp.windows.x Subject: event handling in CLX Keywords: events .. Message-ID: <22@razor.ACA.MCC.COM> Date: 2 Sep 88 19:48:46 GMT Organization: MCC, Austin, TX Lines: 15 Hi! How do I discard events in CLX ? I have several windows mapped on the screen representing various buttons and commands. Each of these windows also looks out for "enter-window" and "leave-window" events among other events. When I move the mouse across the screen to position it on a particular button, all the buttons in the path of the mouse note the two events and this slows down the response. Is there any way of notifying an "enter-window" event to take place only if the mouse has been in the window for some time 't' ? I have hightlight and unhighlight functions as responses to the above mentioned events. It is painful when you have about twenty windows highlighting and unhighlighting. I think there should be a way to discard all events except the last two or so. -- natraj