Re: [hackers] [dwm] [PATCH] focusonclick

From: Eric Pruitt <>
Date: Wed, 4 Jan 2017 11:54:28 -0800

On Wed, Jan 04, 2017 at 08:33:12PM +0100, Markus Teich wrote:
> while fixing the focusonclick patch I noticed that the latest version on the
> wiki[0] breaks some mouse-bindings. After applying the patch to the current git
> master, I could not move or resize floating windows with the mouse anymore. I
> tried removing the line `XAllowEvents(dpy, ReplayPointer, CurrentTime);` and it
> seems to work. I tried to understand why this call was needed in the first
> place, but could not figure it out. It would be nice if anyone with more X
> knowledge could approve that the removal of this call (as done in my attached
> version) is actually the correct solution.

I do not know much about X11 either, but try looking at the source of
one of these patches which keeps / includes an XAllowEvents call:


The second link is just my personal variant of the first patch. Neither
of them have bugs that prevent mouse shortcuts from being used.

Received on Wed Jan 04 2017 - 20:54:28 CET

This archive was generated by hypermail 2.3.0 : Wed Jan 04 2017 - 21:00:16 CET