Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!husc6!cmcl2!rutgers!ucla-cs!zen!ucbvax!ZERMATT.LCS.MIT.EDU!RWS From: RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) Newsgroups: comp.windows.x Subject: Xv11: ButtonPress and ButtonRelease Message-ID: <870831185246.0.RWS@KILLINGTON.LCS.MIT.EDU> Date: Mon, 31-Aug-87 18:52:00 EDT Article-I.D.: KILLINGT.870831185246.0.RWS Posted: Mon Aug 31 18:52:00 1987 Date-Received: Fri, 4-Sep-87 07:24:20 EDT References: <2766421440-4064329@Sierra> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 21 Date: Mon, 31 Aug 87 13:24:00 CDT From: Kerry Kimbrough If a client selects both ButtonPress and ButtonRelease events for window W, and receives a ButtonPress event with W as the "source", is he guaranteed also to receive a ButtonRelease event with W as the "source" (regardless of the position of the pointer at the time of the button's release)? Yes (provided he doesn't release the grab in the mean time). Would this occur even if the client had *not* selected ButtonRelease events for window W? Yes. In the case that the pointer is in window Y at the time of the button's release, is a ButtonRelease event with Y as the "source" also sent to interested clients? No, because the button press caused a grab.