diff options
author | Patryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou> | 2024-09-29 16:28:22 +0200 |
---|---|---|
committer | Patryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou> | 2024-09-29 16:28:22 +0200 |
commit | d66515907f2902edecfc42cd2c387de75b6dcfc4 (patch) | |
tree | ad3c57104c94f500c4149a7f5be493fa1ccfe0e0 /platforms/linux/xorg/slock/slock-mediakeys.diff | |
parent | 4f591cc9c9663c413e8eb5cd8401a34a3251e30c (diff) | |
download | dots-d66515907f2902edecfc42cd2c387de75b6dcfc4.tar.gz dots-d66515907f2902edecfc42cd2c387de75b6dcfc4.zip |
Remove unused software
Diffstat (limited to 'platforms/linux/xorg/slock/slock-mediakeys.diff')
-rw-r--r-- | platforms/linux/xorg/slock/slock-mediakeys.diff | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/platforms/linux/xorg/slock/slock-mediakeys.diff b/platforms/linux/xorg/slock/slock-mediakeys.diff deleted file mode 100644 index 098eb02..0000000 --- a/platforms/linux/xorg/slock/slock-mediakeys.diff +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/slock.c b/slock.c -index 5ae738c..bd54be2 100644 ---- a/slock.c -+++ b/slock.c -@@ -18,6 +18,7 @@ - #include <X11/Xlib.h> - #include <X11/Xutil.h> - #include <X11/XKBlib.h> -+#include <X11/XF86keysym.h> - - #include "arg.h" - #include "util.h" -@@ -157,6 +158,18 @@ readpw(Display *dpy, struct xrandr *rr, struct lock **locks, int nscreens, - IsPrivateKeypadKey(ksym)) - continue; - switch (ksym) { -+ case XF86XK_AudioPlay: -+ case XF86XK_AudioStop: -+ case XF86XK_AudioPrev: -+ case XF86XK_AudioNext: -+ case XF86XK_AudioRaiseVolume: -+ case XF86XK_AudioLowerVolume: -+ case XF86XK_AudioMute: -+ case XF86XK_AudioMicMute: -+ case XF86XK_MonBrightnessDown: -+ case XF86XK_MonBrightnessUp: -+ XSendEvent(dpy, DefaultRootWindow(dpy), True, KeyPressMask, &ev); -+ break; - case XK_Return: - passwd[len] = '\0'; - errno = 0; |