diff options
author | okan <okan> | 2019-02-22 19:40:32 +0000 |
---|---|---|
committer | okan <okan> | 2019-02-22 19:40:32 +0000 |
commit | 535cf541c8fb229d3223dbed5da3b6400a12abe6 (patch) | |
tree | e4f484fcdb7a2e424326b055202f3f7a2db8ac78 /client.c | |
parent | 044ef5a8cd71dc8935ba40015d3583d231d0bf27 (diff) | |
download | cwm-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 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client.c b/client.c index 2819bf2..5303832 100644 --- a/client.c +++ b/client.c @@ -170,7 +170,7 @@ client_find(Window win) } void -client_delete(struct client_ctx *cc) +client_remove(struct client_ctx *cc) { struct screen_ctx *sc = cc->sc; struct winname *wn; @@ -636,7 +636,7 @@ client_msg(struct client_ctx *cc, Atom proto, Time ts) } void -client_send_delete(struct client_ctx *cc) +client_close(struct client_ctx *cc) { if (cc->flags & CLIENT_WM_DELETE_WINDOW) client_msg(cc, cwmh[WM_DELETE_WINDOW], CurrentTime); |