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);
|
||||
continue;
|
||||
}
|
||||
if((mouse->buttons&1) || ptinrect(mouse->xy, w->scrollr)){
|
||||
if((mouse->buttons&(1|8|16)) || ptinrect(mouse->xy, w->scrollr)){
|
||||
sending = TRUE;
|
||||
goto Send;
|
||||
}else if(mouse->buttons&2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue