Ticket #2363: mc-4.6.1-a11y-master.patch

File mc-4.6.1-a11y-master.patch, 769 bytes (added by zaytsev, 14 years ago)

Patch for 4.6.1 ported to latest master

  • src/screen.c

    diff --git a/src/screen.c b/src/screen.c
    index 1425796..877e796 100644
    a b paint_panel (WPanel * panel) 
    10521052    paint_dir (panel); 
    10531053    mini_info_separator (panel); 
    10541054    display_mini_info (panel); 
     1055    widget_move (&panel->widget, (panel->selected - panel->top_file) % llines (panel) + 2, 1); 
    10551056    panel->dirty = 0; 
    10561057} 
    10571058 
    panel_new_with_dir (const char *panel_name, const char *wpath) 
    13301331    /* No know sizes of the panel at startup */ 
    13311332    init_widget (&panel->widget, 0, 0, 0, 0, panel_callback, panel_event); 
    13321333 
    1333     /* We do not want the cursor */ 
    1334     widget_want_cursor (panel->widget, 0); 
     1334    /* We do want the cursor */ 
     1335    widget_want_cursor (panel->widget, 1); 
    13351336 
    13361337    if (wpath) 
    13371338    {