From 545774e9638ac958c62bb2125276e5f93e2f907d Mon Sep 17 00:00:00 2001 From: Reginald Kennedy Date: Tue, 3 Jul 2012 22:18:03 +0800 Subject: [PATCH] Add backwards compatibility for the spawn_term binding. --- spectrwm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spectrwm.c b/spectrwm.c index 666fa0f..b4e86a4 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -4957,6 +4957,7 @@ void setup_spawn(void) { setconfspawn("term", "xterm", 0); + setconfspawn("spawn_term", "xterm", 0); setconfspawn("screenshot_all", "screenshot.sh full", 0); setconfspawn("screenshot_wind", "screenshot.sh window", 0); setconfspawn("lock", "xlock", 0); @@ -5699,6 +5700,7 @@ setconfvalue(char *selector, char *value, int flags) break; case SWM_S_SPAWN_TERM: setconfspawn("term", value, 0); + setconfspawn("spawn_term", value, 0); break; case SWM_S_SS_APP: break; -- 2.39.2