From 83a14a0e1508598ad1d3c333ee7ae6e06f0454e5 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 17 Sep 2014 18:41:44 +0000 Subject: these client actions are just toggles; less confusing with better names --- client.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 5a3baba..91538b1 100644 --- a/client.c +++ b/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.186 2014/09/17 18:09:30 okan Exp $ + * $OpenBSD: client.c,v 1.187 2014/09/17 18:41:44 okan Exp $ */ #include @@ -231,7 +231,7 @@ client_current(void) } void -client_freeze(struct client_ctx *cc) +client_toggle_freeze(struct client_ctx *cc) { if (cc->flags & CLIENT_FREEZE) cc->flags &= ~CLIENT_FREEZE; @@ -240,7 +240,7 @@ client_freeze(struct client_ctx *cc) } void -client_hidden(struct client_ctx *cc) +client_toggle_hidden(struct client_ctx *cc) { if (cc->flags & CLIENT_HIDDEN) cc->flags &= ~CLIENT_HIDDEN; @@ -251,7 +251,7 @@ client_hidden(struct client_ctx *cc) } void -client_sticky(struct client_ctx *cc) +client_toggle_sticky(struct client_ctx *cc) { if (cc->flags & CLIENT_STICKY) cc->flags &= ~CLIENT_STICKY; @@ -262,7 +262,7 @@ client_sticky(struct client_ctx *cc) } void -client_fullscreen(struct client_ctx *cc) +client_toggle_fullscreen(struct client_ctx *cc) { struct screen_ctx *sc = cc->sc; struct geom xine; @@ -294,7 +294,7 @@ resize: } void -client_maximize(struct client_ctx *cc) +client_toggle_maximize(struct client_ctx *cc) { struct screen_ctx *sc = cc->sc; struct geom xine; @@ -339,7 +339,7 @@ resize: } void -client_vmaximize(struct client_ctx *cc) +client_toggle_vmaximize(struct client_ctx *cc) { struct screen_ctx *sc = cc->sc; struct geom xine; @@ -371,7 +371,7 @@ resize: } void -client_hmaximize(struct client_ctx *cc) +client_toggle_hmaximize(struct client_ctx *cc) { struct screen_ctx *sc = cc->sc; struct geom xine; -- cgit v1.2.3-2-gb3c3