fix a bug in a height computing

This commit is contained in:
Julien Danjou 2007-10-01 15:44:14 +02:00
parent 9c747d1986
commit 8d63ecd3aa
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ get_screen_bycoord(Display *disp, int x, int y)
for(i = 0; i < screen_number; i++) for(i = 0; i < screen_number; i++)
if(x >= si[i].x_org && x < si[i].x_org + si[i].width if(x >= si[i].x_org && x < si[i].x_org + si[i].width
&& y >= si[i].y_org && y < si[i].x_org + si[i].height) && y >= si[i].y_org && y < si[i].y_org + si[i].height)
{ {
XFree(si); XFree(si);
return i; return i;