i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 2e8c3fd29180b451251aab61c88b9af6ad753436
parent de6bea260355ea55f71b7d39a306de1f0c73f9a8
Author: Chris Guillott <chris@techfo.xyz>
Date:   Thu,  9 Jun 2016 14:41:04 -0500

Merge upstream commits

ya
Diffstat:
A.github/CONTRIBUTING.md | 3+++
MCHANGELOG | 12++++++++++++
Mi3lock.c | 8++++----
3 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
@@ -0,0 +1,3 @@
+Please do not send/request features related to image manipulation. i3lock’s
+support for background images is intentionally kept minimal, you should do all
+pre-processing in external tools.
diff --git a/CHANGELOG b/CHANGELOG
@@ -1,3 +1,15 @@
+2016-06-04 i3lock 2.8
+
+ • Remove DPMS support in favor of a wrapper script and xset(1).
+ • Indicate that the --inactivity-timeout option takes an argument. (Thanks
+   Kenneth Lyons)
+ • fix pam_securetty: set PAM_TTY to getenv("DISPLAY")
+ • Eat XKB_KEY_Delete and XKB_KEY_KP_Delete (Thanks bebehei)
+ • Show unlock indicator if password was entered during PAM verification
+ • Allow CTRL+J as enter and CTRL+H as backspace (Thanks Karl Tarbe)
+ • Flush xcb connection after opening fullscreen window (Thanks martin)
+ • Add support for `xss-lock --transfer-sleep-lock'
+
 2015-05-20 i3lock 2.7
 
  • Die when the X11 connection breaks during runtime (Thanks Eduan)
diff --git a/i3lock.c b/i3lock.c
@@ -666,10 +666,10 @@ static void maybe_close_sleep_lock_fd(void) {
     const char *sleep_lock_fd = getenv("XSS_SLEEP_LOCK_FD");
     char *endptr;
     if (sleep_lock_fd && *sleep_lock_fd != 0) {
-         long int fd = strtol(sleep_lock_fd, &endptr, 10);
-         if (*endptr == 0) {
-             close(fd);
-         }
+        long int fd = strtol(sleep_lock_fd, &endptr, 10);
+        if (*endptr == 0) {
+            close(fd);
+        }
     }
 }