This commit is contained in:
Julien Danjou 2007-11-15 13:25:59 +01:00
parent bf37316aad
commit 2da4d0d907
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 < get_screen_count(disp); i++) for(i = 0; i < get_screen_count(disp); i++)
if((x < 0 || (x >= si[i].x_org && x < si[i].x_org + si[i].width)) if((x < 0 || (x >= si[i].x_org && x < si[i].x_org + si[i].width))
&& (y< 0 || (y >= si[i].y_org && y < si[i].y_org + si[i].height))) && (y < 0 || (y >= si[i].y_org && y < si[i].y_org + si[i].height)))
{ {
p_delete(&si); p_delete(&si);
return i; return i;