This commit is contained in:
Julien Danjou 2007-12-14 16:09:05 +01:00
parent 15cfbb9ee7
commit 6658994a22
1 changed files with 4 additions and 4 deletions

View File

@ -53,10 +53,10 @@ get_screen_info(Display *disp, int screen, Statusbar *statusbar, Padding *paddin
/* make padding corrections */
if(padding)
{
si[screen].x_org+=padding->left;
si[screen].y_org+=padding->top;
si[screen].width-=padding->left+padding->right;
si[screen].height-=padding->top+padding->bottom;
si[screen].x_org += padding->left;
si[screen].y_org += padding->top;
si[screen].width -= padding->left + padding->right;
si[screen].height -= padding->top + padding->bottom;
}
if(statusbar)