$OpenBSD: patch-src_client_c,v 1.1 2002/03/24 22:23:06 couderc Exp $
--- src/client.c.orig	Sun Mar 24 13:05:52 2002
+++ src/client.c	Sun Mar 24 13:07:08 2002
@@ -128,15 +128,13 @@ static __inline void client_dograbs(clie
 			XGrabButton(display, AnyButton, AnyModifier, client->frame,
 				1, ButtonPressMask, GrabModeSync, GrabModeAsync, None, None);
 		else
-			XGrabButton(display, AnyButton, options.mouse_modifier, client->frame,
-				1, ButtonPressMask, GrabModeSync, GrabModeAsync, None, None);
+			buttongrabhack(client->frame, AnyButton, options.mouse_modifier);
 		break;
 	case FOCUS_POINTER:
 		mask |= LeaveWindowMask;
 	case FOCUS_SLOPPY:
 		mask |= EnterWindowMask;
-		XGrabButton(display, AnyButton, options.mouse_modifier, client->frame,
-			1, ButtonPressMask, GrabModeSync, GrabModeAsync, None, None);
+		buttongrabhack(client->frame, AnyButton, options.mouse_modifier);
 		break;
 	}
 	XSelectInput(display, client->frame, mask);
