Changeset 2360 for neercs


Ignore:
Timestamp:
Jun 11, 2008, 6:23:46 PM (12 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Fixed window borders size
Location:
neercs/trunk/src
Files:
2 edited

Legend:

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

    r2359 r2360  
    286286                           j * YTAB + 1, screen_list->screen[j]->cv, NULL);
    287287                cucul_draw_cp437_box(cv, (n - 1 - j) * XTAB, j * YTAB,
    288                                      w + (n - 1 - j) * XTAB + 1, h + j * YTAB + 2);
     288                                     screen_list->screen[j]->w+1,
     289                                     screen_list->screen[j]->h+1);
    289290                /* Set cursor to the correct position */
    290291                if(i == n - 1)
     
    380381    s->init = 0;
    381382
    382 
    383383    s->buf = NULL;
    384384    s->total = 0;
     385    s->w = w+1;
     386    s->h = h+1;
    385387    s->fd = create_pty(command, w, h);
    386388    if(s->fd < 0)
  • neercs/trunk/src/neercs.h

    r2359 r2360  
    3434    unsigned char *buf;
    3535    long int total;
     36
     37    int x, y;
    3638    int w, h;
    3739};
Note: See TracChangeset for help on using the changeset viewer.