Changeset 3503 for neercs/trunk


Ignore:
Timestamp:
May 22, 2009, 11:47:48 AM (11 years ago)
Author:
Pascal Terjan
Message:

Avoid screens out of the canvas in card mode, and use maximum possible space

File:
1 edited

Legend:

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

    r3502 r3503  
    141141{
    142142    int i;
    143     int w = (screen_list->width  - screen_list->count) - 3;
    144     int h = (screen_list->height - screen_list->count) - 4;
    145     int x = (screen_list->width  - w) - (3*screen_list->count) + 4;
    146     int y = 2 + (1*screen_list->count);
     143    int w = (screen_list->width  - screen_list->count*3) + 1;
     144    int h = (screen_list->height - screen_list->count) - 1;
     145    int x = 1;
     146    int y = screen_list->count;
    147147
    148148    for(i = 0; i < screen_list->count; i++)
Note: See TracChangeset for help on using the changeset viewer.