9term: allow scroll wheel in main window
http://codereview.appspot.com/105082
This commit is contained in:
parent
f2887b9de8
commit
3b7ca01f98
1 changed files with 1 additions and 1 deletions
|
|
@ -216,7 +216,7 @@ mousethread(void *v)
|
||||||
send(w->mc.c, &tmp);
|
send(w->mc.c, &tmp);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if((mouse->buttons&1) || ptinrect(mouse->xy, w->scrollr)){
|
if((mouse->buttons&(1|8|16)) || ptinrect(mouse->xy, w->scrollr)){
|
||||||
sending = TRUE;
|
sending = TRUE;
|
||||||
goto Send;
|
goto Send;
|
||||||
}else if(mouse->buttons&2)
|
}else if(mouse->buttons&2)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue