From a720a98faa6504e6049c179c4a3bdc1e4eeeb1fc Mon Sep 17 00:00:00 2001 From: aurhat Date: Sun, 15 Oct 2017 14:00:06 +0200 Subject: [PATCH] Fix looking up on Mac using SDL 2.0.6 framework --- source/src/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/src/main.cpp b/source/src/main.cpp index e92af365..bdb2c9f8 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -755,9 +755,6 @@ static inline bool skipmousemotion(SDL_Event &event) if(event.type != SDL_MOUSEMOTION) return true; if(!(SDL_GetWindowFlags(screen) & SDL_WINDOW_FULLSCREEN)) { - #ifdef __APPLE__ - if(event.motion.y == 0) return true; // let mac users drag windows via the title bar - #endif if(event.motion.x == screenw / 2 && event.motion.y == screenh / 2) return true; // ignore any motion events generated SDL_WarpMouse } return false;