Make the command key configurable. - sam - An updated version of the sam text e… | |
git clone git://vernunftzentrum.de/sam.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 9c834391ea867e41b6c3d96ebae55b16c5c3a1d0 | |
parent fc45b36b6a8172a3bc851f227f6ba7959aaa78ad | |
Author: Rob King <[email protected]> | |
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(-) | |
--- | |
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 | |
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 | |
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} |