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

2009-01-15 Thread Peter Hutterer
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 thjae...@gmail.com Date: Mon, 22 Dec 2008 00:55:09 +0100 Subject: [PATCH] Count the number of logically down buttons in buttonsDown This

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

2009-01-15 Thread Thomas Jaeger
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 thjae...@gmail.com Date: Mon, 22 Dec 2008 00:55:09 +0100 Subject: [PATCH] Count the number of logically down buttons

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

2009-01-15 Thread Peter Hutterer
On Thu, Jan 15, 2009 at 08:22:17PM -0500, Thomas Jaeger wrote: From d6ea6d45d5d3ca74bb665f32439f440b30a8939d Mon Sep 17 00:00:00 2001 From: Thomas Jaeger thjae...@gmail.com Date: Sat, 20 Dec 2008 16:17:02 +0100 Subject: [PATCH] Don't release grabs unless all buttons are up Previously, only

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

2009-01-05 Thread Keith Packard
On Mon, 2009-01-05 at 11:59 -0500, Thomas Jaeger wrote: if ((grab-coreGrab !button-state) ... || (!grab-coreGrab AllButtonsAreUp(b)) Unless I'm completely lost, you shouldn't need to make this distinction (see previous message). -- keith.pack...@intel.com signature.asc