From a3c7fd29ed44719addc853056a2a1d588e615b06 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 22 Feb 2019 19:40:32 +0000 Subject: 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. --- client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index cd2ace3..3988e5a 100644 --- a/client.c +++ b/client.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: client.c,v 1.248 2019/02/22 14:39:18 okan Exp $ + * $OpenBSD: client.c,v 1.249 2019/02/22 19:40:32 okan Exp $ */ #include @@ -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); -- cgit v1.2.3-2-gb3c3