Changeset 2369 for neercs


Ignore:
Timestamp:
Jun 13, 2008, 2:59:01 PM (12 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Changed default wm to VSPLIT and fixed wrong split size
Location:
neercs/trunk/src
Files:
2 edited

Legend:

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

    r2368 r2369  
    9090    screen_list->width  = cucul_get_canvas_width(cv);
    9191    screen_list->height = cucul_get_canvas_height(cv) - ((mini*6) + (status));
    92     screen_list->wm_type = WM_CARD;
     92    screen_list->wm_type = WM_VSPLIT;
    9393    screen_list->in_bell = 0;
    9494
  • neercs/trunk/src/wm.c

    r2367 r2369  
    6565{
    6666    int i;
    67     int w = (screen_list->width / screen_list->count);
     67    int w = (screen_list->width / screen_list->count) - 1;
    6868    int h = (screen_list->height) - 2;
    6969
     
    8989        screen_list->screen[i]->x = 1;
    9090        screen_list->screen[i]->y = (i*h) + 1;
    91 
    9291        resize_screen(screen_list->screen[i],
    9392                      w, h - 1);
Note: See TracChangeset for help on using the changeset viewer.