---- - Makefile | 9 +++------ - x.c | 10 +++++----- - 2 files changed, 8 insertions(+), 11 deletions(-) - -diff --git a/Makefile b/Makefile -index 470ac86..ab1d9b8 100644 ---- a/Makefile -+++ b/Makefile -_AT_@ -15,16 +15,13 @@ options: - _AT_echo "LDFLAGS = $(STLDFLAGS)" - _AT_echo "CC = $(CC)" - --config.h: -- cp config.def.h config.h -- - .c.o: - $(CC) $(STCFLAGS) -c $< - --st.o: config.h st.h win.h --x.o: arg.h config.h st.h win.h -+st.o: config.def.h st.h win.h -+x.o: arg.h config.def.h st.h win.h - --$(OBJ): config.h config.mk -+$(OBJ): config.def.h config.mk - - st: $(OBJ) - $(CC) -o $_AT_ $(OBJ) $(STLDFLAGS) -diff --git a/x.c b/x.c -index cd96575..0c78b1a 100644 ---- a/x.c -+++ b/x.c -_AT_@ -20,7 +20,7 @@ char *argv0; - #include "st.h" - #include "win.h" - --/* types used in config.h */ -+/* types used in config.def.h */ - typedef struct { - uint mod; - KeySym keysym; -_AT_@ -50,7 +50,7 @@ typedef struct { - #define XK_NO_MOD 0 - #define XK_SWITCH_MOD (1<<13|1<<14) - --/* function definitions used in config.h */ -+/* function definitions used in config.def.h */ - static void clipcopy(const Arg *); - static void clippaste(const Arg *); - static void numlock(const Arg *); -_AT_@ -60,8 +60,8 @@ static void zoomabs(const Arg *); - static void zoomreset(const Arg *); - static void ttysend(const Arg *); - --/* config.h for applying patches and the configuration. */ --#include "config.h" -+/* config.def.h for applying patches and the configuration. */ -+#include "config.def.h" - - /* XEMBED messages */ - #define XEMBED_FOCUS_IN 4 -_AT_@ -1855,7 +1855,7 @@ kpress(XEvent *ev) - } - } - -- /* 2. custom keys from config.h */ -+ /* 2. custom keys from config.def.h */ - if ((customkey = kmap(ksym, e->state))) { - ttywrite(customkey, strlen(customkey), 1); - return; --- -2.35.1 -Received on Sun Feb 27 2022 - 22:23:54 CET
This archive was generated by hypermail 2.3.0 : Sun Feb 27 2022 - 22:24:51 CET