pangoterm: default to no chording

for shift-space, shift-enter, shift-backspace
This commit is contained in:
coypu 2017-12-20 00:52:36 +02:00
parent 1f4d8eb9c8
commit ce9dd33975
3 changed files with 21 additions and 0 deletions

View File

@ -3,6 +3,7 @@
VER= 0_pre20160305
DISTNAME= pangoterm-0.${VER}
CATEGORIES= x11
PKGREVISION= 1
MASTER_SITES= ${MASTER_SITE_GENTOO:=distfiles/}
HOMEPAGE= http://www.leonerd.org.uk/code/pangoterm/

View File

@ -5,3 +5,4 @@ RMD160 (pangoterm-0.0_pre20160305.tar.gz) = 2ebc9ccc2e9d1133eb0cea716639757a1436
SHA512 (pangoterm-0.0_pre20160305.tar.gz) = 570c8fe1f7233884a849aa9b9160930b77682a9c3ef6f9c26891eb604c861e01a3ce13d418c8febc92e1cdb2794d5a1cf0097c27183395098c505540146f8467
Size (pangoterm-0.0_pre20160305.tar.gz) = 22802 bytes
SHA1 (patch-Makefile) = 76101dd2d5b46edffdf6ff0cc5b705c45c23fe96
SHA1 (patch-pangoterm.c) = f7122ead69651ebe10ddda32dab1ad82f6f27680

View File

@ -0,0 +1,19 @@
$NetBSD$
Switch to default off chording.
--- pangoterm.c.orig 2016-03-05 14:25:19.000000000 +0000
+++ pangoterm.c
@@ -54,9 +54,9 @@ CONF_BOOL(doubleclick_fullword, 0, FALSE
CONF_STRING(geometry, 0, "", "Initial window geometry", "GEOM");
-CONF_BOOL(chord_shift_space, 0, TRUE, "Shift-Space chording");
-CONF_BOOL(chord_shift_backspace, 0, TRUE, "Shift-Backspace chording");
-CONF_BOOL(chord_shift_enter, 0, TRUE, "Shift-Enter chording");
+CONF_BOOL(chord_shift_space, 0, FALSE, "Shift-Space chording");
+CONF_BOOL(chord_shift_backspace, 0, FALSE, "Shift-Backspace chording");
+CONF_BOOL(chord_shift_enter, 0, FALSE, "Shift-Enter chording");
#define VTERM_COLOR_FROM_GDK_COLOR(c) \
((VTermColor){ .red = (c).red / 257, .green = (c).green / 257, .blue = (c).blue / 257 })