sites

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f85e1defe1a97f4b178f2b4418c1bb8c4699d4e0
parent 6c0e340542aa0b77e3e5f3e4ebfd04959193c3ad
Author: Alessandro Di Martino <unknown>
Date:   Sat,  7 Jul 2012 14:22:39 +0200

Fixed missing dwm-6.0-focusonclick.diff
Diffstat:
Adwm.suckless.org/patches/dwm-6.0-focusonclick.diff | 32++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+), 0 deletions(-)

diff --git a/dwm.suckless.org/patches/dwm-6.0-focusonclick.diff b/dwm.suckless.org/patches/dwm-6.0-focusonclick.diff @@ -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 +@@ -266,7 +266,6 @@ + [ConfigureRequest] = configurerequest, + [ConfigureNotify] = configurenotify, + [DestroyNotify] = destroynotify, +- [EnterNotify] = enternotify, + [Expose] = expose, + [FocusIn] = focusin, + [KeyPress] = keypress, +@@ -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++) +@@ -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); + } + }