aboutsummaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authorokan2019-02-22 19:40:32 +0000
committerokan2019-02-22 19:40:32 +0000
commita3c7fd29ed44719addc853056a2a1d588e615b06 (patch)
tree762b1f59f7a84d332d9143746451a3fb8386b459 /client.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 'client.c')
-rw-r--r--client.c6
1 files changed, 3 insertions, 3 deletions
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 <sys/types.h>
@@ -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);