Re: [dev] [slock][PATCH] Caps Lock colour

From: Martin Kopta <martin_AT_kopta.eu>
Date: Mon, 28 Apr 2014 13:16:30 +0200

On Mon, Apr 28, 2014 at 08:05:59PM +1000, Thiébaud Weksteen wrote:
> See attached!
>
> ... >8 .....

Why not simply

        XSetWindowBackground(dpy, locks[screen]->win, (ev.xkey.state && LockMask) ?
            locks[screen]->colors[2] : locks[screen]->colors[1]);

?

You aren't using the caps_state anywhere anyway.

Received on Mon Apr 28 2014 - 13:16:30 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 28 2014 - 13:24:06 CEST