X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=petitboot.c;h=236d8e7d448877ee6568279ac5b1ebca1911208d;hp=b76a7189518fd67b95cd6a096850e21cf8429957;hb=d1cf8ce827d553d8133e9e104757eab9e0868d2a;hpb=44722ec66794900881347462b6b6f32e430159af diff --git a/petitboot.c b/petitboot.c index b76a718..236d8e7 100644 --- a/petitboot.c +++ b/petitboot.c @@ -290,7 +290,7 @@ static void pboot_rpane_draw(twin_window_t *window) static twin_time_t pboot_rfocus_timeout (twin_time_t now, void *closure) { int dir = 1, dist, pos; - const int accel[11] = { 7, 4, 2, 1, 1, 1, 1, 2, 3, 4, 5 }; + const int accel[11] = { 7, 4, 2, 1, 1, 1, 1, 1, 2, 2, 3 }; dist = abs(pboot_rpane->focus_target - pboot_rpane->focus_start); dir = dist > 5 ? 5 : dist; @@ -571,7 +571,7 @@ static void pboot_create_rpane(void) static twin_time_t pboot_lfocus_timeout (twin_time_t now, void *closure) { int dir = 1, dist, pos; - const int accel[11] = { 7, 4, 2, 1, 1, 1, 1, 2, 3, 4, 5 }; + const int accel[11] = { 7, 4, 2, 1, 1, 1, 1, 1, 2, 2, 3 }; dist = abs(pboot_lpane->focus_target - pboot_lpane->focus_start); pos = pboot_lpane->focus_target - (int)pboot_lpane->focus_box.top; @@ -1082,7 +1082,7 @@ int main(int argc, char **argv) twin_linux_mouse_create(NULL, pboot_screen); if (pboot_fbdev != NULL) { - char *cursor_path = artwork_pathname("cursor"); + char *cursor_path = artwork_pathname("cursor.gz"); pboot_cursor = twin_load_X_cursor(cursor_path, 2, &pboot_cursor_hx, &pboot_cursor_hy);