!CONFIG NEWS! Add multi mouse section in [tags] and new section [client] with multi mouse section

This commit is contained in:
Martin Duquesnoy
2012-01-20 19:32:50 +01:00
parent 4ee3ae7638
commit f5f574b6bd
10 changed files with 113 additions and 38 deletions

View File

@@ -25,6 +25,8 @@ event_buttonpress(XEvent *e)
SLIST_FOREACH(b, &W->h.barwin, next)
if(b->win == ev->window)
{
W->last_clicked_barwin = b;
SLIST_FOREACH(m, &b->mousebinds, next)
if(m->button == ev->button)
if(!m->use_area || (m->use_area && INAREA(ev->x, ev->y, m->area)))