Ignore:
Timestamp:
May 22, 2009, 1:13:17 PM (11 years ago)
Author:
Pascal Terjan
Message:

fix screen_list->height

File:
1 edited

Legend:

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

    r3506 r3507  
    7676    int i;
    7777    int w = (screen_list->width / screen_list->count) - 1;
    78     int h = screen_list->height - 3;
     78    int h = screen_list->height - 2;
    7979
    8080    for(i = 0; i < screen_list->count; i++)
     
    9999    int i;
    100100    int w = screen_list->width - 2;
    101     int h = (screen_list->height-1) / screen_list->count;
     101    int h = (screen_list->height) / screen_list->count;
    102102
    103103    for(i = 0; i < screen_list->count; i++)
     
    113113            resize_screen(screen_list->screen[i],
    114114                          w,
    115                           screen_list->height - i*h - 3);
     115                          screen_list->height - i*h - 2);
    116116        }
    117117    }
     
    123123    int i;
    124124    int w = screen_list->width - 2;
    125     int h = screen_list->height - 3;
     125    int h = screen_list->height - 2;
    126126
    127127    for(i = 0; i < screen_list->count; i++)
     
    142142    int i;
    143143    int w = (screen_list->width  - screen_list->count*3) + 1;
    144     int h = (screen_list->height - screen_list->count) - 2;
     144    int h = (screen_list->height - screen_list->count) - 1;
    145145    int x = 1;
    146146    int y = screen_list->count;
Note: See TracChangeset for help on using the changeset viewer.