SDL: Fixed parameter operation ordering for ease of reading

From 8f964576da9d159187f9eb317212e166812d7dda Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sat, 19 Mar 2022 11:01:55 -0700
Subject: [PATCH] Fixed parameter operation ordering for ease of reading

---
 src/video/cocoa/SDL_cocoamouse.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video/cocoa/SDL_cocoamouse.m b/src/video/cocoa/SDL_cocoamouse.m
index a2f14bfcaed..7713fb544e6 100644
--- a/src/video/cocoa/SDL_cocoamouse.m
+++ b/src/video/cocoa/SDL_cocoamouse.m
@@ -253,7 +253,7 @@ + (NSCursor *)invisibleCursor
 static void
 Cocoa_WarpMouse(SDL_Window * window, int x, int y)
 {
-    Cocoa_WarpMouseGlobal(x + window->x, y + window->y);
+    Cocoa_WarpMouseGlobal(window->x + x, window->y + y);
 }
 
 static int