Changeset 3919


Ignore:
Timestamp:
Nov 17, 2009, 9:50:36 PM (10 years ago)
Author:
Pascal Terjan
Message:
  • Drop dead code from wm_refresh_full, only current screen is visible
File:
1 edited

Legend:

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

    r3916 r3919  
    278278{
    279279    int i;
    280    
    281     for(i = screen_list->count - 1; i >=0; i--)
    282     {
    283         if(i!=screen_list->pty && screen_list->screen[i]->visible &&
    284            (screen_list->screen[i]->changed || screen_list->changed))
    285         {
    286             caca_blit(screen_list->cv,
    287                       screen_list->screen[i]->x,
    288                       screen_list->screen[i]->y,
    289                       screen_list->screen[i]->cv, NULL);
    290            
    291             caca_draw_cp437_box(screen_list->cv,
    292                                 screen_list->screen[i]->x - 1,
    293                                 screen_list->screen[i]->y - 1,
    294                                 screen_list->screen[i]->w + 2,
    295                                 screen_list->screen[i]->h + 2);
    296             if(screen_list->screen[i]->title)
    297                 caca_printf(screen_list->cv,
    298                             screen_list->screen[i]->x,
    299                             screen_list->screen[i]->y - 1,
    300                             " %.*s ",
    301                             screen_list->screen[i]->w - 3,
    302                             screen_list->screen[i]->title);
    303         }
    304     }
    305280   
    306281    if(screen_list->screen[screen_list->pty]->changed || screen_list->changed)
Note: See TracChangeset for help on using the changeset viewer.