diff options
author | okan | 2009-06-26 12:21:58 +0000 |
---|---|---|
committer | okan | 2009-06-26 12:21:58 +0000 |
commit | f041981121a18d2b5c0697db9469c8c6ab474386 (patch) | |
tree | 91a1c58c010d4d75d54b153aef83d0f1090d82f9 /client.c | |
parent | f211e0e6f9fb03e24ed65461fc1375f3eda6d6ba (diff) | |
download | cwm-f041981121a18d2b5c0697db9469c8c6ab474386.tar.gz |
static local functions and data; almost identical diff from Thomas Pfaff
ok oga@
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -15,13 +15,19 @@ * 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.56 2009/06/23 21:52:38 okan Exp $ + * $Id: client.c,v 1.57 2009/06/26 12:21:58 okan Exp $ */ #include "headers.h" #include "calmwm.h" -static int client_inbound(struct client_ctx *, int, int); +static struct client_ctx *client_mrunext(struct client_ctx *); +static struct client_ctx *client_mruprev(struct client_ctx *); +static void client_placecalc(struct client_ctx *); +static void client_update(struct client_ctx *); +static void client_gethints(struct client_ctx *); +static void client_freehints(struct client_ctx *); +static int client_inbound(struct client_ctx *, int, int); static char emptystring[] = ""; struct client_ctx *_curcc = NULL; @@ -407,7 +413,7 @@ client_draw_border(struct client_ctx *cc) XSetWindowBorder(X_Dpy, cc->win, pixel); } -void +static void client_update(struct client_ctx *cc) { Atom *p; @@ -522,7 +528,7 @@ client_cycle(int reverse) return (newcc); } -struct client_ctx * +static struct client_ctx * client_mrunext(struct client_ctx *cc) { struct screen_ctx *sc = CCTOSC(cc); @@ -532,7 +538,7 @@ client_mrunext(struct client_ctx *cc) ccc : TAILQ_FIRST(&sc->mruq)); } -struct client_ctx * +static struct client_ctx * client_mruprev(struct client_ctx *cc) { struct screen_ctx *sc = CCTOSC(cc); @@ -542,7 +548,7 @@ client_mruprev(struct client_ctx *cc) ccc : TAILQ_LAST(&sc->mruq, cycle_entry_q)); } -void +static void client_placecalc(struct client_ctx *cc) { struct screen_ctx *sc = CCTOSC(cc); @@ -629,7 +635,7 @@ client_mtf(struct client_ctx *cc) TAILQ_INSERT_HEAD(&sc->mruq, cc, mru_entry); } -void +static void client_gethints(struct client_ctx *cc) { XClassHint xch; @@ -675,7 +681,7 @@ client_gethints(struct client_ctx *cc) } } -void +static void client_freehints(struct client_ctx *cc) { if (cc->app_name != NULL) |