Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!gatech!mcnc!borg!vivaldi!misra From: misra@vivaldi.cs.unc.edu (Rajeev Misra) Newsgroups: comp.windows.x Subject: Double Clicking of Mouse buttons in X Message-ID: <1284@borg.cs.unc.edu> Date: 4 Feb 91 23:18:52 GMT Sender: news@cs.unc.edu Lines: 17 I am new to this newsgroup and may have missed a discussion that involved the above. We have to implement an interface in which we take different actions (say 1 and 2) on a single or double click of the mouse buttons If someone has already done this I would like to have his/her opnion on it? The two ways we can think of doing it are : By doing action 1 and then if the second event arrives within some fixed time we do action 2. The other way would be by peeking into the X Event queue (after waiting for some time). I would appreciate it if you send your opnions and experiences by e-mail since I am not a regular reader. Thanks, Rajeev Misra (misra@cs.unc.edu)