diff options
author | okan | 2014-09-17 18:41:44 +0000 |
---|---|---|
committer | okan | 2014-09-17 18:41:44 +0000 |
commit | 83a14a0e1508598ad1d3c333ee7ae6e06f0454e5 (patch) | |
tree | abd2334334d4ad767926c801299bbef4d107ee06 /client.c | |
parent | b8f5bceb1e3eb570c672162836c310335254a3dc (diff) | |
download | cwm-83a14a0e1508598ad1d3c333ee7ae6e06f0454e5.tar.gz |
these client actions are just toggles; less confusing with better names
Diffstat (limited to '')
-rw-r--r-- | client.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -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 <sys/param.h> @@ -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; |