diff options
author | okan | 2019-02-22 19:40:32 +0000 |
---|---|---|
committer | okan | 2019-02-22 19:40:32 +0000 |
commit | a3c7fd29ed44719addc853056a2a1d588e615b06 (patch) | |
tree | 762b1f59f7a84d332d9143746451a3fb8386b459 /conf.c | |
parent | b654187d11b3af398e8a6133914c426ba1fdaf6d (diff) | |
download | cwm-a3c7fd29ed44719addc853056a2a1d588e615b06.tar.gz |
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 '')
-rw-r--r-- | conf.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.243 2019/02/13 15:43:24 okan Exp $ + * $OpenBSD: conf.c,v 1.244 2019/02/22 19:40:33 okan Exp $ */ #include <sys/types.h> @@ -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" }, |