From 89622e41b248eb18ee7b36aa3f95f9eb4b4ad4a0 Mon Sep 17 00:00:00 2001 From: "Enno Boland (tox)" Date: Mon, 26 Oct 2009 16:50:38 +0100 Subject: code cleaning, windows are properly closed on exit; if last client quits, exit --- config.def.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 840254a..c0eee1b 100644 --- a/config.def.h +++ b/config.def.h @@ -7,12 +7,10 @@ static const int tabwidth = 200; static const char before[] = "<"; static const char after[] = ">"; -#define EXEC "surf", "-e", winid #define MODKEY ControlMask static Key keys[] = { \ /* modifier key function argument */ - { MODKEY|ShiftMask, XK_Return, spawn, { .v = (char*[]){ EXEC, NULL} } }, - { MODKEY|ShiftMask, XK_t, spawn, { .v = (char*[]){ EXEC, NULL} } }, + { MODKEY|ShiftMask, XK_Return, spawn, { .v = (char*[]){ "surf", "-e", winid, NULL} } }, { MODKEY|ShiftMask, XK_l, rotate, { .i = +1 } }, { MODKEY|ShiftMask, XK_h, rotate, { .i = -1 } }, { MODKEY, XK_1, move, { .i = 1 } }, -- cgit v1.2.3