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

View file

@ -111,7 +111,7 @@ get_screen_bycoord(Display *disp, int x, int y)
for(i = 0; i < screen_number; i++)
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);
return i;