From 1418d788a455221a89b39f7b995b9a4cc3ee1e39 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Mon, 23 Aug 2021 16:22:39 +0600 Subject: [PATCH] Remove incorrect focus loss detection code --- src/unix/unix.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/unix/unix.c b/src/unix/unix.c index fbcd47a31..014566fad 100644 --- a/src/unix/unix.c +++ b/src/unix/unix.c @@ -672,11 +672,6 @@ int main(int argc, char** argv) } break; } - case SDL_WINDOWEVENT_FOCUS_LOST: - { - plat_mouse_capture(0); - break; - } case SDL_KEYDOWN: case SDL_KEYUP: {