add bigtags

This commit is contained in:
rsc 2005-12-16 15:14:14 +00:00
parent 20ae0b0fc2
commit f8dea3c178
5 changed files with 96 additions and 2 deletions

View file

@ -591,7 +591,11 @@ mousethread(void *v)
goto Continue;
}
/* scroll buttons, wheels, etc. */
if(t->what==Body && w != nil && (m.buttons & (8|16))){
/*
* TAG used to require t->what==Body but now allow
* scroll wheel in tag too.
*/
if(w != nil && (m.buttons & (8|16))){
if(m.buttons & 8)
but = Kscrolloneup;
else