mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-12-04 15:18:14 +00:00
[client] move remaining code in core.c into the SDL backend
This commit is contained in:
@@ -457,7 +457,7 @@ void app_handleMouseNormal(double ex, double ey)
|
||||
const int tx = (local.x <= 0.0) ? floor(local.x) : ceil(local.x);
|
||||
const int ty = (local.y <= 0.0) ? floor(local.y) : ceil(local.y);
|
||||
|
||||
if (util_isValidCursorLocation(
|
||||
if (core_isValidPointerPos(
|
||||
g_state.windowPos.x + g_state.border.x + tx,
|
||||
g_state.windowPos.y + g_state.border.y + ty))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user