This commit is contained in:
Enno Boland (tox) 2009-09-09 22:22:20 +02:00
parent e63408f34e
commit b35dd76344

2
surf.c
View File

@ -539,7 +539,7 @@ scroll(Client *c, const Arg *arg) {
v += gtk_adjustment_get_step_increment(a) * arg->i; v += gtk_adjustment_get_step_increment(a) * arg->i;
v = MAX(v, 0.0); v = MAX(v, 0.0);
v = MIN(v, gtk_adjustment_get_upper(a) - gtk_adjustment_get_page_size(a)); v = MIN(v, gtk_adjustment_get_upper(a) - gtk_adjustment_get_page_size(a));
gtk_adjustment_set_value (a, v); gtk_adjustment_set_value(a, v);
} }
void void