Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
736 B

  1. From ca087d5b0e8cd4ac596c161dbf569640c7754b46 Mon Sep 17 00:00:00 2001
  2. From: Klemens Nanni <kl3@posteo.org>
  3. Date: Sat, 7 Jan 2017 02:18:09 +0100
  4. Subject: [PATCH] Update 'mediakeys' patch to 20170111
  5. ---
  6. slock.c | 2 +-
  7. 1 file changed, 1 insertion(+), 1 deletion(-)
  8. diff --git a/slock.c b/slock.c
  9. index ac26cc8..4d81ca6 100644
  10. --- a/slock.c
  11. +++ b/slock.c
  12. @@ -186,7 +186,7 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens,
  13. case XF86XK_AudioStop:
  14. case XF86XK_AudioPrev:
  15. case XF86XK_AudioNext:
  16. - XSendEvent(dpy, locks[0]->root, True, KeyPressMask, &ev);
  17. + XSendEvent(dpy, DefaultRootWindow(dpy), True, KeyPressMask, &ev);
  18. break;
  19. case XK_Return:
  20. passwd[len] = '\0';
  21. --
  22. 2.11.0