[wiki] [sites] Updated delkey patch || Martin Kopta

From: <git_AT_suckless.org>
Date: Tue, 28 Jul 2015 16:28:54 +0200

commit 0e35abd74167e1c1db7c5ab48aa148065f20af8b
Author: Martin Kopta <martin_AT_kopta.eu>
Date: Tue Jul 28 16:28:49 2015 +0200

    Updated delkey patch

diff --git a/st.suckless.org/patches/st-git-delkey.diff b/st.suckless.org/patches/st-git-delkey.diff
index ad05d44..06768bb 100644
--- a/st.suckless.org/patches/st-git-delkey.diff
+++ b/st.suckless.org/patches/st-git-delkey.diff
_AT_@ -1,18 +1,8 @@
-From cd3626ef20da275de94fbc5fc52e8a30e0a44384 Mon Sep 17 00:00:00 2001
-From: "Roberto E. Vargas Caballero" <k0ga_AT_shike2.com>
-Date: Mon, 9 Mar 2015 23:35:05 +0000
-Subject: [PATCH] Do the only true correct DEL/BACKSPACE style
-
----
- config.def.h | 5 ++---
- st.info      | 4 ++--
- 2 files changed, 4 insertions(+), 5 deletions(-)
-
 diff --git a/config.def.h b/config.def.h
-index 28a413b..1667ed6 100644
+index 930e468..b427840 100644
 --- a/config.def.h
 +++ b/config.def.h
-_AT_@ -203,7 +203,7 @@ static Key key[] = {
+_AT_@ -228,7 +228,7 @@ static Key key[] = {
  	{ XK_KP_Delete,     ShiftMask,      "",      -1,    0,    0},
  	{ XK_KP_Delete,     ShiftMask,      "[3;2~",    +1,    0,    0},
  	{ XK_KP_Delete,     XK_ANY_MOD,     "",       -1,    0,    0},
_AT_@ -21,12 +11,12 @@ index 28a413b..1667ed6 100644
  	{ XK_KP_Multiply,   XK_ANY_MOD,     "Oj",       +2,    0,    0},
  	{ XK_KP_Add,        XK_ANY_MOD,     "Ok",       +2,    0,    0},
  	{ XK_KP_Enter,      XK_ANY_MOD,     "OM",       +2,    0,    0},
-_AT_@ -258,8 +258,7 @@ static Key key[] = {
+_AT_@ -283,8 +283,7 @@ static Key key[] = {
  	{ XK_Delete,        ShiftMask,      "",      -1,    0,    0},
  	{ XK_Delete,        ShiftMask,      "[3;2~",    +1,    0,    0},
  	{ XK_Delete,        XK_ANY_MOD,     "",       -1,    0,    0},
 -	{ XK_Delete,        XK_ANY_MOD,     "[3~",      +1,    0,    0},
--	{ XK_BackSpace,     XK_ANY_MOD,     "",          0,    0,    0},
+-	{ XK_BackSpace,     XK_NO_MOD,      "",          0,    0,    0},
 +	{ XK_Delete,        XK_ANY_MOD,     "",         +1,    0,    0},
  	{ XK_Home,          ShiftMask,      "",       0,   -1,    0},
  	{ XK_Home,          ShiftMask,      "",     0,   +1,    0},
_AT_@ -53,6 +43,3 @@ index 2acd8b2..21b4734 100644
  	kich1=\E[2~,
  	kend=\E[4~,
  	kf1=\EOP,
--- 
-2.2.1
-
Received on Tue Jul 28 2015 - 16:28:54 CEST

This archive was generated by hypermail 2.3.0 : Tue Jul 28 2015 - 16:36:12 CEST