[wiki] [sites] Fixed missing dwm-6.0-focusonclick.diff || Alessandro Di Martino

From: <hg_AT_suckless.org>
Date: Sat, 7 Jul 2012 14:22:11 +0200 (CEST)

changeset: 943:7e2f85a34d5c
tag: tip
user: Alessandro Di Martino
date: Sat Jul 07 14:22:39 2012 +0200
files: dwm.suckless.org/patches/dwm-6.0-focusonclick.diff
description:
Fixed missing dwm-6.0-focusonclick.diff


diff -r 2dd293175280 -r 7e2f85a34d5c dwm.suckless.org/patches/dwm-6.0-focusonclick.diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dwm.suckless.org/patches/dwm-6.0-focusonclick.diff Sat Jul 07 14:22:39 2012 +0200
_AT_@ -0,0 +1,32 @@
+diff -r 399346e83a88 dwm.c
+--- a/dwm.c Fri Mar 23 15:19:53 2012 +0100
++++ b/dwm.c Fri Mar 23 15:21:38 2012 +0100
+_AT_@ -266,7 +266,6 @@
+ [ConfigureRequest] = configurerequest,
+ [ConfigureNotify] = configurenotify,
+ [DestroyNotify] = destroynotify,
+- [EnterNotify] = enternotify,
+ [Expose] = expose,
+ [FocusIn] = focusin,
+ [KeyPress] = keypress,
+_AT_@ -456,6 +455,7 @@
+ }
+ else if((c = wintoclient(ev->window))) {
+ focus(c);
++ XAllowEvents(dpy, ReplayPointer, CurrentTime);
+ click = ClkClientWin;
+ }
+ for(i = 0; i < LENGTH(buttons); i++)
+_AT_@ -1001,11 +1001,11 @@
+ XGrabButton(dpy, buttons[i].button,
+ buttons[i].mask | modifiers[j],
+ c->win, False, BUTTONMASK,
+- GrabModeAsync, GrabModeSync, None, None);
++ GrabModeSync, GrabModeSync, None, None);
+ }
+ else
+ XGrabButton(dpy, AnyButton, AnyModifier, c->win, False,
+- BUTTONMASK, GrabModeAsync, GrabModeSync, None, None);
++ BUTTONMASK, GrabModeSync, GrabModeSync, None, None);
+ }
+ }
Received on Sat Jul 07 2012 - 14:22:11 CEST

This archive was generated by hypermail 2.3.0 : Thu Sep 13 2012 - 19:32:26 CEST