summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2014-01-02 21:15:40 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2014-01-02 21:15:40 +0000
commit0f51996b38f1f723d0c3140fba399b92df4dea94 (patch)
tree967e7ac5ebd767ba896a7106eb50e813c816a3a8
parent0b1afcfbe1ab45dbaa4895ef3f9f107fcf3fe183 (diff)
rename for clarity
-rw-r--r--app/cwm/client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/cwm/client.c b/app/cwm/client.c
index f4b4cb356..6c8a4a4ef 100644
--- a/app/cwm/client.c
+++ b/app/cwm/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.166 2014/01/02 20:58:20 okan Exp $
+ * $OpenBSD: client.c,v 1.167 2014/01/02 21:15:39 okan Exp $
*/
#include <sys/param.h>
@@ -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