Make the command key configurable. - sam - An updated version of the sam text editor.
(HTM) git clone git://vernunftzentrum.de/sam.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 9c834391ea867e41b6c3d96ebae55b16c5c3a1d0
(DIR) parent fc45b36b6a8172a3bc851f227f6ba7959aaa78ad
(HTM) Author: Rob King <jking@deadpixi.com>
Date: Thu, 11 Aug 2016 22:20:03 -0500
Make the command key configurable.
Diffstat:
config.h | 20 --------------------
config.h.def | 3 +++
libXg/gwin.c | 1 -
3 files changed, 3 insertions(+), 21 deletions(-)
---
(DIR) diff --git a/config.h b/config.h
@@ -1,20 +0,0 @@
-#ifndef _SAM_CONFIG_H
-#define _SAM_CONFIG_H
-
-/* Where to put temporary files. */
-#define TMPDIR "/tmp"
-
-/* Is the target 64-bits?
- * 0 - build for 32-bit systems
- * 1 - build for 64-bit little-endian systems
- * 2 - build for 64-bit big-endian systems
- */
-#define USE64BITS 1
-
-/* The remote shell to use for remote connections. */
-#define RXPATH "/usr/bin/ssh"
-
-/* The system shell to use. Must be Bourne-compatible. */
-#define SHPATH "/bin/sh"
-
-#endif
(DIR) diff --git a/config.h.def b/config.h.def
@@ -17,4 +17,7 @@
/* The system shell to use. Must be Bourne-compatible. */
#define SHPATH "/bin/sh"
+/* The key to use for keyboard commands. */
+#define COMMANDMASK ControlMask
+
#endif
(DIR) diff --git a/libXg/gwin.c b/libXg/gwin.c
@@ -174,7 +174,6 @@ struct Keymapping{
int result;
};
-#define COMMANDMASK ControlMask
Keymapping keymappings[] ={
#include "../commands.h"
{0, 0, Kend, 0}