Re: [dev] dmenu fast grab

From: Ciprian Dorin Craciun <ciprian.craciun_AT_gmail.com>
Date: Sat, 23 Apr 2011 16:11:49 +0300

On Sun, Mar 20, 2011 at 06:24, Rob <robpilling_AT_gmail.com> wrote:
> Not sure how useful this will be, but I altered dmenu so it can grab the
> X keyboard before reading input from stdin.
>
> It works well on my netbook, where occasionally dmenu_run can take up to
> a second to grab the keyboard, meaning I end up typing a load of
> jibberish into the focused window, expecting it to go into dmenu.
>
> Just an itch it scratches really.
>
> Cheers,
> Rob.

    I've tried to apply the attached patch (and the one on the dmenu
web-site) with both patch and git-apply, and they've both complained:

~~~~
curl 'http://tools.suckless.org/dmenu/patches/dmenu-4.2.1-fastgrab.diff'
| git apply
fatal: corrupt patch at line 21
~~~~
curl 'http://tools.suckless.org/dmenu/patches/dmenu-4.2.1-fastgrab.diff'
| patch -p1
patching file dmenu.c
patch: **** malformed patch at line 21: @@ -101,15 +108,61 @@
~~~~

    Am I missing something?

    Thanks,
    Ciprian.
Received on Sat Apr 23 2011 - 15:11:49 CEST

This archive was generated by hypermail 2.2.0 : Sat Apr 23 2011 - 15:24:02 CEST