diff --git a/src/client.c b/src/client.c index b420664..ee5919f 100644 --- a/src/client.c +++ b/src/client.c @@ -88,7 +88,7 @@ CLIENT_ACTION_LIST(focus, prev_tab) /** Send a ConfigureRequest event to the struct client * \param c struct client pointer */ -inline void +void client_configure(struct client *c) { XConfigureEvent ev = @@ -1352,7 +1352,7 @@ client_fac_resize(struct client *c, enum position p, int fac) XUngrabKeyboard(W->dpy, CurrentTime); } -inline void +void client_fac_hint(struct client *c) { int w = c->sizeh[MINW] + c->border + c->border; diff --git a/src/client.h b/src/client.h index 38a04c5..7ef4d75 100644 --- a/src/client.h +++ b/src/client.h @@ -18,7 +18,7 @@ SLIST_FOREACH(V, H, F) \ if(!(V->flags & CLIENT_FREE)) -inline void client_configure(struct client *c); +void client_configure(struct client *c); struct client *client_gb_win(Window w); struct client *client_gb_frame(Window w); struct client *client_gb_pos(struct tag *t, int x, int y); @@ -55,7 +55,7 @@ void client_apply_tgeo(struct tag *t); #define CPROP_TAB 0x08 void client_update_props(struct client *c, Flags f); -inline void client_fac_hint(struct client *c); +void client_fac_hint(struct client *c); void uicb_client_untab(Uicb cmd); void uicb_client_toggle_free(Uicb cmd); diff --git a/src/layout.c b/src/layout.c index 0922619..1a58f6e 100644 --- a/src/layout.c +++ b/src/layout.c @@ -422,7 +422,7 @@ layout_split_integrate(struct client *c, struct client *sc) * |_____|----'| -> |_____|__v__| * ^^^ void */ -inline void +void layout_fix_hole(struct client *c) { struct client *cr = client_next_with_pos(c, Right); diff --git a/src/layout.h b/src/layout.h index 344a1c5..0bae14c 100644 --- a/src/layout.h +++ b/src/layout.h @@ -33,7 +33,7 @@ void layout_save_set(struct tag *t); void layout_free_set(struct tag *t); void layout_split_integrate(struct client *c, struct client *sc); void layout_split_arrange_closed(struct client *ghost); -inline void layout_fix_hole(struct client *c); +void layout_fix_hole(struct client *c); void layout_client(struct client *c); void uicb_layout_vmirror(Uicb cmd); void uicb_layout_hmirror(Uicb cmd); diff --git a/src/status.c b/src/status.c index 320c72c..c8ee6ec 100644 --- a/src/status.c +++ b/src/status.c @@ -171,7 +171,11 @@ status_parse(struct status_ctx *ctx) * Parse it while there is a mousebind sequence. */ dstr = end + 1; - while((*(dstr = status_parse_mouse(sq, dstr)) == '(')); + + do + dstr = status_parse_mouse(sq, dstr); + while(*dstr == '('); + --dstr; prev = sq;