[PATCH] Count the number of logically down buttons in buttonsDown

Thomas Jaeger thjaeger at gmail.com
Thu Jan 15 17:22:17 PST 2009


Peter Hutterer wrote:
> On Mon, Jan 05, 2009 at 11:55:40AM -0500, Thomas Jaeger wrote:
>> From 3f8ba578ad18b7135031197f6ec5145afcd1479a Mon Sep 17 00:00:00 2001
>> From: Thomas Jaeger <ThJaeger at gmail.com>
>> Date: Mon, 22 Dec 2008 00:55:09 +0100
>> Subject: [PATCH] Count the number of logically down buttons in buttonsDown
>>
>> This fixes the following bug.  Assuming your window manager grabs
>> Alt+Button1 to move windows, map Button3 to 0 via XSetPointerMapping,
>> then press the physical button 3 (this shouldn't have any effect), press
>> Alt and then button 1.  The press event is delivered to the application
>> instead of firing the grab.
> 
> Signed off and pushed (finally). Thanks for the patch.
> Can you send me the updated version of the other patch please, AFAICT there
> was a minor change missing.

Thanks.  This one should do it now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Don-t-release-grabs-unless-all-buttons-are-up.patch
Type: text/x-patch
Size: 1406 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090115/07169d93/attachment.bin>


More information about the xorg mailing list