summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c
index 476ea8e2..881739c7 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -1785,7 +1785,7 @@ int GetCurrentMonitor(void)
monitor = monitors[i];
glfwGetMonitorWorkarea(monitor, &mx, &my, &width, &height);
- if (x >= mx && x <= (mx + width) && y >= my && y <= (my + height))
+ if (x >= mx && x < (mx + width) && y >= my && y < (my + height))
{
index = i;
break;