Add default mousebind for client (scroll to focus next/prev tab) and minor fix
This commit is contained in:
parent
ebc83c904b
commit
97fd008856
@ -407,7 +407,7 @@ client_frame_update(struct client *c, struct colpair *cp)
|
|||||||
barwin_resize(c->titlebar, f, c->tbarw);
|
barwin_resize(c->titlebar, f, c->tbarw);
|
||||||
|
|
||||||
barwin_refresh_color(c->titlebar);
|
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);
|
draw_text(c->titlebar->dr, c->theme, xt, y, cp->fg, c->title);
|
||||||
barwin_refresh(c->titlebar);
|
barwin_refresh(c->titlebar);
|
||||||
|
|
||||||
|
|||||||
2
wmfsrc
2
wmfsrc
@ -98,6 +98,8 @@
|
|||||||
[mouse] button = "1" func = "mouse_swap" [/mouse]
|
[mouse] button = "1" func = "mouse_swap" [/mouse]
|
||||||
[mouse] button = "2" func = "mouse_tab" [/mouse]
|
[mouse] button = "2" func = "mouse_tab" [/mouse]
|
||||||
[mouse] button = "3" func = "mouse_resize" [/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]
|
[/client]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user