aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2019-02-22 19:40:32 +0000
committerokan2019-02-22 19:40:32 +0000
commita3c7fd29ed44719addc853056a2a1d588e615b06 (patch)
tree762b1f59f7a84d332d9143746451a3fb8386b459 /conf.c
parentb654187d11b3af398e8a6133914c426ba1fdaf6d (diff)
downloadcwm-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.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/conf.c b/conf.c
index cf39d4f..dde35ab 100644
--- a/conf.c
+++ b/conf.c
@@ -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" },