SDL_windowsevents.c (WIN_WindowProc): remove SAFE_AREA_X and SAFE_AREA_Y

Not used since commit a1fabca162
main
Ozkan Sezer 2021-10-15 10:11:24 +03:00
parent d5700ed20b
commit c583055acb
1 changed files with 0 additions and 4 deletions

View File

@ -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) {