summary refs log tree commit diff
path: root/conf.c
diff options
context:
space:
mode:
authorokan <okan>2019-02-22 19:40:32 +0000
committerokan <okan>2019-02-22 19:40:32 +0000
commit535cf541c8fb229d3223dbed5da3b6400a12abe6 (patch)
treee4f484fcdb7a2e424326b055202f3f7a2db8ac78 /conf.c
parent044ef5a8cd71dc8935ba40015d3583d231d0bf27 (diff)
downloadcwm-535cf541c8fb229d3223dbed5da3b6400a12abe6.tar.gz
cwm-535cf541c8fb229d3223dbed5da3b6400a12abe6.tar.xz
cwm-535cf541c8fb229d3223dbed5da3b6400a12abe6.zip
Rename internal functions to delinate between client remove, delete and xproto
delete; 'window-close' is now the proper action, but 'window-delete' as an
alias will remain until more interesting changes require breaking configs.
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf.c b/conf.c
index f15598d..5d75bac 100644
--- a/conf.c
+++ b/conf.c
@@ -67,7 +67,8 @@ static const struct {
 	{ FUNC_CC(window-lower, client_lower, 0) },
 	{ FUNC_CC(window-raise, client_raise, 0) },
 	{ FUNC_CC(window-hide, client_hide, 0) },
-	{ FUNC_CC(window-delete, client_delete, 0) },
+	{ FUNC_CC(window-close, client_close, 0) },
+	{ FUNC_CC(window-delete, client_close, 0) },
 	{ FUNC_CC(window-htile, client_htile, 0) },
 	{ FUNC_CC(window-vtile, client_vtile, 0) },
 	{ FUNC_CC(window-stick, client_toggle_sticky, 0) },
@@ -194,7 +195,7 @@ static const struct {
 	{ "M-Tab",	"window-cycle" },
 	{ "MS-Tab",	"window-rcycle" },
 	{ "CM-n",	"window-menu-label" },
-	{ "CM-x",	"window-delete" },
+	{ "CM-x",	"window-close" },
 	{ "CM-a",	"group-toggle-all" },
 	{ "CM-0",	"group-toggle-all" },
 	{ "CM-1",	"group-toggle-1" },