Re: [dwm] slock-0.2

From: Anselm R. Garbe <arg_AT_suckless.org>
Date: Wed, 18 Oct 2006 14:05:33 +0200

On Wed, Oct 18, 2006 at 04:01:45PM +0400, Alex Elide wrote:
> slock-0.2 works fine if I run it from shell or through dmenu.
> but if I put '{ ctrl|alt, XK_Delete, spawn, { .cmd = "exec slock" } }'
> line in my dwm config.h, then XGrabKeyboard in slock.c fail with AlreadyGrabbed.
>
> what I'm doing wrong?

I removed the busy grabbing loop from slock. I should readd it
with attempting it 10 times at maximum with usleep(1000) in each
iteration. Thanks for the hint.

-- 
 Anselm R. Garbe  ><><  http://suckless.org/~arg/  ><><  GPG key: 0D73F361
Received on Wed Oct 18 2006 - 14:05:33 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:32:04 UTC