[PATCH xserver 12/17] Input: Make CheckPassiveGrabsOnWindow return grab, export

Chase Douglas chase.douglas at canonical.com
Thu Jan 6 08:47:18 PST 2011


On 12/28/2010 12:58 PM, Daniel Stone wrote:
> Change CheckPassiveGrabsOnWindow to return the GrabPtr it used (or NULL
> if none) rather than a boolean, and export it.  Also add an additional
> boolean 'activate' parameter; use TRUE for existing behaviour, or FALSE
> to only find the grab and then return it.
> 
> This will be used in forthcoming touch patches to find the grabs, rather
> than open-coding same.
> 
> Signed-off-by: Daniel Stone <daniel at fooishbar.org>
> Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

Reviewed-by: Chase Douglas <chase.douglas at canonical.com>


More information about the xorg-devel mailing list