openbsd-ports/x11/golem/patches/patch-src_focus_c
2002-03-24 22:23:06 +00:00

14 lines
615 B
Plaintext

$OpenBSD: patch-src_focus_c,v 1.1 2002/03/24 22:23:06 couderc Exp $
--- src/focus.c.orig Sun Mar 24 13:11:26 2002
+++ src/focus.c Sun Mar 24 13:11:57 2002
@@ -138,8 +138,7 @@ void focus_client(client_t *client) {
/* prepare this client to recieve the focus */
if (options.focus == FOCUS_CLICK) {
XUngrabButton(display, AnyButton, AnyModifier, client->frame);
- XGrabButton(display, AnyButton, options.mouse_modifier, client->frame,
- 1, ButtonPressMask, GrabModeAsync, GrabModeAsync, None, None);
+ buttongrabhack(client->frame, AnyButton, options.mouse_modifier);
}
/* now we actually focus it */