Re: [dev] [dwm] code cleanup

From: anonymous <p37sitdu_AT_lavabit.com>
Date: Wed, 27 Jul 2011 02:23:32 +0400

On Tue, Jul 26, 2011 at 11:54:14PM +0200, Peter Hartlich wrote:
> Hi,
>
> > void
> > grabkeys(void) {
> > + unsigned int i, j;
> > + unsigned int modifiers[] = { 0, LockMask, numlockmask, numlockmask|LockMask };
> > + KeyCode code;
> > +
> > updatenumlockmask();
> > - {
> > - unsigned int i, j;
> > - unsigned int modifiers[] = { 0, LockMask, numlockmask, numlockmask|LockMask };
> > - KeyCode code;
>
> That would break the numlockmask stuff.
>
> Regards,
> Peter
>
Fixed patch attached.

Received on Wed Jul 27 2011 - 00:23:32 CEST

This archive was generated by hypermail 2.2.0 : Wed Jul 27 2011 - 00:36:03 CEST