mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
fix a bug in a height computing
This commit is contained in:
parent
9c747d1986
commit
8d63ecd3aa
1 changed files with 1 additions and 1 deletions
2
screen.c
2
screen.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue