summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2008-05-19 17:24:20 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2008-05-19 17:24:20 +0000
commit45b49f1a106bc20e1f629a838d571d53affcb0b2 (patch)
tree2458e24d0ff3af40384e70071aa4921b3e105522 /app
parentb32e881d4c029e5802edb6f0b2c368a55d4ad983 (diff)
client_cyclenext() -> client_cycle() since we now pass an arg.
removes a stray proto as well. discussed with and ok oga@
Diffstat (limited to 'app')
-rw-r--r--app/cwm/calmwm.h5
-rw-r--r--app/cwm/client.c4
-rw-r--r--app/cwm/kbfunc.c4
3 files changed, 6 insertions, 7 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h
index fec4cba6f..1472aa1a3 100644
--- a/app/cwm/calmwm.h
+++ b/app/cwm/calmwm.h
@@ -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.
*
- * $Id: calmwm.h,v 1.45 2008/05/19 17:13:55 oga Exp $
+ * $Id: calmwm.h,v 1.46 2008/05/19 17:24:19 okan Exp $
*/
#ifndef _CALMWM_H_
@@ -340,7 +340,6 @@ void client_ptrwarp(struct client_ctx *);
void client_ptrsave(struct client_ctx *);
void client_draw_border(struct client_ctx *);
void client_update(struct client_ctx *);
-void client_cycle(struct client_ctx *);
void client_placecalc(struct client_ctx *);
void client_maximize(struct client_ctx *);
void client_vertmaximize(struct client_ctx *);
@@ -348,7 +347,7 @@ u_long client_bg_pixel(struct client_ctx *);
Pixmap client_bg_pixmap(struct client_ctx *);
void client_map(struct client_ctx *cc);
void client_mtf(struct client_ctx *cc);
-struct client_ctx *client_cyclenext(int reverse);
+struct client_ctx *client_cycle(int reverse);
struct client_ctx *client_mrunext(struct client_ctx *cc);
struct client_ctx *client_mruprev(struct client_ctx *cc);
void client_gethints(struct client_ctx *cc);
diff --git a/app/cwm/client.c b/app/cwm/client.c
index 5d9f18500..a5cd9af7a 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.
*
- * $Id: client.c,v 1.25 2008/05/19 15:17:50 oga Exp $
+ * $Id: client.c,v 1.26 2008/05/19 17:24:19 okan Exp $
*/
#include "headers.h"
@@ -590,7 +590,7 @@ match:
}
struct client_ctx *
-client_cyclenext(int reverse)
+client_cycle(int reverse)
{
struct client_ctx *oldcc = client_current(), *newcc;
struct screen_ctx *sc = screen_current();
diff --git a/app/cwm/kbfunc.c b/app/cwm/kbfunc.c
index e4a3574de..6f7a88148 100644
--- a/app/cwm/kbfunc.c
+++ b/app/cwm/kbfunc.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.
*
- * $Id: kbfunc.c,v 1.25 2008/05/19 17:11:19 okan Exp $
+ * $Id: kbfunc.c,v 1.26 2008/05/19 17:24:19 okan Exp $
*/
#include <paths.h>
@@ -182,7 +182,7 @@ kbfunc_client_cycle(struct client_ctx *scratch, void *arg)
XGrabKeyboard(X_Dpy, sc->rootwin, True,
GrabModeAsync, GrabModeAsync, CurrentTime);
- client_cyclenext((int)arg);
+ client_cycle((int)arg);
}
void