From c583055acbcae356bc9f1f7d402da98e8bb7ae19 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Fri, 15 Oct 2021 10:11:24 +0300 Subject: [PATCH] SDL_windowsevents.c (WIN_WindowProc): remove SAFE_AREA_X and SAFE_AREA_Y Not used since commit https://github.com/libsdl-org/SDL/commit/a1fabca162091b50d6f7dd71879d028319e09d80 --- src/video/windows/SDL_windowsevents.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/video/windows/SDL_windowsevents.c b/src/video/windows/SDL_windowsevents.c index f6b80802c..3a41e1421 100644 --- a/src/video/windows/SDL_windowsevents.c +++ b/src/video/windows/SDL_windowsevents.c @@ -738,10 +738,6 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) } mouseID = (SDL_MouseID)(uintptr_t)inp.header.hDevice; if (isRelative) { - /* FIXME: Add a hint to control this? */ - const int SAFE_AREA_X = 64; - const int SAFE_AREA_Y = 256; - RAWMOUSE* rawmouse = &inp.data.mouse; if ((rawmouse->usFlags & 0x01) == MOUSE_MOVE_RELATIVE) {