--- xorg-server-X11R7.2-1.2.0/dix/grabs.c.orig 2007-01-23 05:13:14.000000000 +0200 +++ xorg-server-X11R7.2-1.2.0/dix/grabs.c 2007-05-02 10:45:18.772816109 +0300 @@ -278,11 +278,8 @@ { if (GrabMatchesSecond(pGrab, grab)) { - if (CLIENT_BITS(pGrab->resource) != CLIENT_BITS(grab->resource)) - { - FreeGrab(pGrab); - return BadAccess; - } + FreeGrab(pGrab); + return BadAccess; } }