Re: [dev] [slock] [PATCH] Blank the screen with colour 0

From: Markus Teich <>
Date: Wed, 11 Feb 2015 12:44:38 +0100

David Phillips wrote:
> When started, slock doesn't blank the displays to colour 0 until a slock to
> realise the input buffer is empty (i.e. backspace is hit). As far as I can
> tell, this isn't the intended behaviour. This patch fixes this problem such
> that as soon as slock is started, the display is blanked to colour 0, rather
> than (in my case) black.


I quite liked this bug/feature/behaviour. You can easily tell, if someone tried
to unlock your computer, when returning from e.g. a coffee break. Could you
adapt you patch to support three colors?

0. directly after locking
1. when typing the password
2. after a failed unlock atempt or after deleting all chars

Received on Wed Feb 11 2015 - 12:44:38 CET

This archive was generated by hypermail 2.3.0 : Wed Feb 11 2015 - 12:48:06 CET