about summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2013-01-04 16:30:03 +0000
committerokan <okan>2013-01-04 16:30:03 +0000
commit6d123cd96d889cbff140e5ed0d897462d9fec3d4 (patch)
tree3e94c61904b41858b3eb4c472c2ef6467cdeddbc
parent579f981718c9444630afc34f8ab5dfe6e983427a (diff)
downloadcwm-6d123cd96d889cbff140e5ed0d897462d9fec3d4.tar.gz
cwm-6d123cd96d889cbff140e5ed0d897462d9fec3d4.tar.xz
cwm-6d123cd96d889cbff140e5ed0d897462d9fec3d4.zip
rename {h,v}max functions for consistency; from Jan Stary
-rw-r--r--calmwm.h4
-rw-r--r--client.c4
-rw-r--r--kbfunc.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/calmwm.h b/calmwm.h
index ab49afc..47f60e7 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -320,7 +320,7 @@ struct client_ctx	*client_find(Window);
 void			 client_freeze(struct client_ctx *);
 void			 client_getsizehints(struct client_ctx *);
 void			 client_hide(struct client_ctx *);
-void			 client_horizmaximize(struct client_ctx *);
+void			 client_hmaximize(struct client_ctx *);
 void			 client_leave(struct client_ctx *);
 void			 client_lower(struct client_ctx *);
 void			 client_map(struct client_ctx *);
@@ -337,7 +337,7 @@ void			 client_setname(struct client_ctx *);
 int			 client_snapcalc(int, int, int, int, int);
 void			 client_transient(struct client_ctx *);
 void			 client_unhide(struct client_ctx *);
-void			 client_vertmaximize(struct client_ctx *);
+void			 client_vmaximize(struct client_ctx *);
 void			 client_warp(struct client_ctx *);
 
 void			 group_alltoggle(struct screen_ctx *);
diff --git a/client.c b/client.c
index b61b7ef..ad45aea 100644
--- a/client.c
+++ b/client.c
@@ -298,7 +298,7 @@ resize:
 }
 
 void
-client_vertmaximize(struct client_ctx *cc)
+client_vmaximize(struct client_ctx *cc)
 {
 	struct screen_ctx	*sc = cc->sc;
 	struct geom		 xine;
@@ -339,7 +339,7 @@ resize:
 }
 
 void
-client_horizmaximize(struct client_ctx *cc)
+client_hmaximize(struct client_ctx *cc)
 {
 	struct screen_ctx	*sc = cc->sc;
 	struct geom		 xine;
diff --git a/kbfunc.c b/kbfunc.c
index 9f5ca9d..d61193f 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -452,13 +452,13 @@ kbfunc_client_maximize(struct client_ctx *cc, union arg *arg)
 void
 kbfunc_client_vmaximize(struct client_ctx *cc, union arg *arg)
 {
-	client_vertmaximize(cc);
+	client_vmaximize(cc);
 }
 
 void
 kbfunc_client_hmaximize(struct client_ctx *cc, union arg *arg)
 {
-	client_horizmaximize(cc);
+	client_hmaximize(cc);
 }
 
 void