Changeset 2403 for neercs/trunk/src


Ignore:
Timestamp:
Jun 15, 2008, 3:28:32 PM (14 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Speed up rendering while in full-wm and thumbnails are not activated
Location:
neercs/trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/neercs.h

    r2402 r2403  
    3939
    4040    /* Other stuff */
     41    int visible;
    4142    int fd;
    4243    unsigned char *buf;
  • neercs/trunk/src/screens.c

    r2402 r2403  
    4444    s->h = h+1;
    4545    s->bell = 0;
    46 
     46    s->visible = 1;
    4747    s->fd = create_pty(command, w, h, &s->pid);
    4848
     
    154154    for(i = screen_list->count - 1; i >=0; i--)
    155155    {
    156         if(i!=pty)
     156        if(i!=pty && screen_list->screen[i]->visible)
    157157        {
    158158            cucul_blit(cv,
  • neercs/trunk/src/wm.c

    r2386 r2403  
    7272        screen_list->screen[i]->x = (i*w)+1;
    7373        screen_list->screen[i]->y = 1;
    74 
     74        screen_list->screen[i]->visible = 1;
    7575        if(i != screen_list->count -1)
    7676        {
     
    9595        screen_list->screen[i]->x = 1;
    9696        screen_list->screen[i]->y = (i*h) + 1;
     97        screen_list->screen[i]->visible = 1;
    9798        if(i != screen_list->count -1)
    9899        {
     
    116117    for(i = 0; i < screen_list->count; i++)
    117118    {
     119        screen_list->screen[i]->visible = 0;
    118120        screen_list->screen[i]->x = 1;
    119121        screen_list->screen[i]->y = 1;
     
    122124                      w, h);
    123125    }
     126    screen_list->screen[pty]->visible = 1;
    124127}
    125128
     
    135138    for(i = 0; i < screen_list->count; i++)
    136139    {
     140        screen_list->screen[i]->visible = 1;
    137141        screen_list->screen[i]->x = x;
    138142        screen_list->screen[i]->y = y;
Note: See TracChangeset for help on using the changeset viewer.