summary refs log tree commit diff
path: root/client.c
diff options
context:
space:
mode:
authorokan <okan>2014-01-02 21:15:39 +0000
committerokan <okan>2014-01-02 21:15:39 +0000
commit8420398068f8ec29995432d5ce55eba92982620d (patch)
tree40614943ea82f61de1b283d2b70d7940d7ac275c /client.c
parent46b1d6ef1e3a45a4ce8b3f5d3c4f9631e793e785 (diff)
downloadcwm-8420398068f8ec29995432d5ce55eba92982620d.tar.gz
cwm-8420398068f8ec29995432d5ce55eba92982620d.tar.xz
cwm-8420398068f8ec29995432d5ce55eba92982620d.zip
rename for clarity
Diffstat (limited to 'client.c')
-rw-r--r--client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/client.c b/client.c
index 6cf68e4..929bd8e 100644
--- a/client.c
+++ b/client.c
@@ -40,7 +40,7 @@ static void			 client_wm_protocols(struct client_ctx *);
 static void			 client_mwm_hints(struct client_ctx *);
 static int			 client_inbound(struct client_ctx *, int, int);
 
-struct client_ctx	*_curcc = NULL;
+struct client_ctx	*curcc = NULL;
 
 struct client_ctx *
 client_find(Window win)
@@ -192,7 +192,7 @@ client_setactive(struct client_ctx *cc)
 	if (!sc->cycling)
 		client_mtf(cc);
 
-	_curcc = cc;
+	curcc = cc;
 	cc->active = 1;
 	cc->flags &= ~CLIENT_URGENCY;
 	client_draw_border(cc);
@@ -210,13 +210,13 @@ client_none(struct screen_ctx *sc)
 
 	xu_ewmh_net_active_window(sc, none);
 
-	_curcc = NULL;
+	curcc = NULL;
 }
 
 struct client_ctx *
 client_current(void)
 {
-	return (_curcc);
+	return (curcc);
 }
 
 void