summaryrefslogtreecommitdiff
path: root/app/cwm/kbfunc.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2019-02-22 19:40:34 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2019-02-22 19:40:34 +0000
commite10999572d31a39ec9284831f614cff53548bc42 (patch)
treec3c876b63a54dea42acd5bb8fd873c66b669e488 /app/cwm/kbfunc.c
parent7100d7ae89c587300906ea12a5e5aaac01181df7 (diff)
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 'app/cwm/kbfunc.c')
-rw-r--r--app/cwm/kbfunc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/cwm/kbfunc.c b/app/cwm/kbfunc.c
index fa20873ea..cb6c65d95 100644
--- a/app/cwm/kbfunc.c
+++ b/app/cwm/kbfunc.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: kbfunc.c,v 1.160 2019/02/13 15:43:24 okan Exp $
+ * $OpenBSD: kbfunc.c,v 1.161 2019/02/22 19:40:33 okan Exp $
*/
#include <sys/types.h>
@@ -324,9 +324,9 @@ kbfunc_client_snap(void *ctx, struct cargs *cargs)
}
void
-kbfunc_client_delete(void *ctx, struct cargs *cargs)
+kbfunc_client_close(void *ctx, struct cargs *cargs)
{
- client_send_delete(ctx);
+ client_close(ctx);
}
void