Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!asuvax!ukma!hsdndev!spdcc!tauxersvilli!alphalpha!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.windows.x Subject: Re: OpenWindows button events question Message-ID: <1991Apr12.184728.11038@alphalpha.com> Date: 12 Apr 91 18:47:28 GMT References: <9104112247.AA01067@lightning.McRCIM.McGill.EDU> Organization: none Lines: 27 >> We have an application that does not run properly under open windows >> with "Click select: (click a mouse button in a window to give it the >> focus) enabled. When we traced the events it is getting, it seems >> that when the left or middle mouse buttons are pressed over a window >> that currently has the input focus, the application in the window >> gets the sequence of events: > >> LeaveNotify (leaving the window) >> ButtonPress (indicating the button) >> EnterNotify (entering the window) > >> When the button is released, a simple button release event is generated This is probably related to the multitude of problems I see under Olwm. Things like clicking in one window and having the event go to the previous window. Or clicking in a Motif text widget and watching it select everything between where I was the last time I used it and where I just clicked (but only briefly, it then gets unselected - but god forbid you started typing - pending delete will nuke it). -- Alfalfa Software, Inc. | Poste: The EMail for Unix nazgul@alfalfa.com | Send Anything... Anywhere 617/646-7703 (voice/fax) | info@alfalfa.com I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.