diff --git a/src/client.c b/src/client.c index 1e77ebb..968a850 100644 --- a/src/client.c +++ b/src/client.c @@ -407,7 +407,7 @@ client_frame_update(struct client *c, struct colpair *cp) barwin_resize(c->titlebar, f, c->tbarw); barwin_refresh_color(c->titlebar); - draw_rect(cc->titlebar->dr, g, c->scol.bg); + draw_rect(c->titlebar->dr, g, c->scol.bg); draw_text(c->titlebar->dr, c->theme, xt, y, cp->fg, c->title); barwin_refresh(c->titlebar); diff --git a/wmfsrc b/wmfsrc index 4dc3618..663fa52 100644 --- a/wmfsrc +++ b/wmfsrc @@ -94,10 +94,12 @@ [client] - [mouse] button = "1" func = "client_focus_click" [/mouse] - [mouse] button = "1" func = "mouse_swap" [/mouse] - [mouse] button = "2" func = "mouse_tab" [/mouse] - [mouse] button = "3" func = "mouse_resize" [/mouse] + [mouse] button = "1" func = "client_focus_click" [/mouse] + [mouse] button = "1" func = "mouse_swap" [/mouse] + [mouse] button = "2" func = "mouse_tab" [/mouse] + [mouse] button = "3" func = "mouse_resize" [/mouse] + [mouse] button = "4" func = "client_focus_next_tab" [/mouse] + [mouse] button = "5" func = "client_focus_prev_tab" [/mouse] [/client]