Ignore:
Timestamp:
May 14, 2009, 5:27:48 PM (12 years ago)
Author:
Pascal Terjan
Message:
  • Don't refresh more than 60 times per second
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/main.c

    r3445 r3455  
    206206                fcntl(screen_list->socket[SOCK_CLIENT], F_SETFL, O_NONBLOCK);
    207207                caca_refresh_display(screen_list->dp);
     208                debug("refreshtime=%d", caca_get_display_time(screen_list->dp));
    208209            }
    209210            else if(!strncmp("CURSOR ", buf, 7))
     
    337338    screen_list->wm_type = WM_VSPLIT;
    338339    screen_list->in_bell = 0;
     340    screen_list->changed = 0;
     341    screen_list->delay = 1000000/60; /* Don't refresh more than 60 times per second */
    339342    screen_list->pty = screen_list->prevpty = 0;
    340343    screen_list->dont_update_coords = 0;
Note: See TracChangeset for help on using the changeset viewer.