summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2014-09-08 20:32:40 +0000
committerokan <okan>2014-09-08 20:32:40 +0000
commitbc703742647e3ae9238d72d6ef6ad711b97462a7 (patch)
tree559c4fe065af8af7562b127e5e11df9c78639c48
parent26ba1526929931660ac22757ac752f15d5b64fb2 (diff)
downloadcwm-bc703742647e3ae9238d72d6ef6ad711b97462a7.tar.gz
cwm-bc703742647e3ae9238d72d6ef6ad711b97462a7.tar.xz
cwm-bc703742647e3ae9238d72d6ef6ad711b97462a7.zip
since mruq has been folded in, rename mru-named functions
-rw-r--r--client.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/client.c b/client.c
index 1fd6824..a3188f7 100644
--- a/client.c
+++ b/client.c
@@ -31,8 +31,8 @@
 
 #include "calmwm.h"
 
-static struct client_ctx	*client_mrunext(struct client_ctx *);
-static struct client_ctx	*client_mruprev(struct client_ctx *);
+static struct client_ctx	*client_next(struct client_ctx *);
+static struct client_ctx	*client_prev(struct client_ctx *);
 static void			 client_mtf(struct client_ctx *);
 static void			 client_none(struct screen_ctx *);
 static void			 client_placecalc(struct client_ctx *);
@@ -654,8 +654,8 @@ client_cycle(struct screen_ctx *sc, int flags)
 	while (again) {
 		again = 0;
 
-		newcc = (flags & CWM_RCYCLE ? client_mruprev(newcc) :
-		    client_mrunext(newcc));
+		newcc = (flags & CWM_RCYCLE ? client_prev(newcc) :
+		    client_next(newcc));
 
 		/* Only cycle visible and non-ignored windows. */
 		if ((newcc->flags & (CLIENT_HIDDEN|CLIENT_IGNORE))
@@ -692,7 +692,7 @@ client_cycle_leave(struct screen_ctx *sc)
 }
 
 static struct client_ctx *
-client_mrunext(struct client_ctx *cc)
+client_next(struct client_ctx *cc)
 {
 	struct screen_ctx	*sc = cc->sc;
 	struct client_ctx	*ccc;
@@ -702,7 +702,7 @@ client_mrunext(struct client_ctx *cc)
 }
 
 static struct client_ctx *
-client_mruprev(struct client_ctx *cc)
+client_prev(struct client_ctx *cc)
 {
 	struct screen_ctx	*sc = cc->sc;
 	struct client_ctx	*ccc;