From 93b4932185767a1aca02193b2598b9332574da28 Mon Sep 17 00:00:00 2001 From: sorgelig Date: Thu, 3 Aug 2017 03:57:56 +0800 Subject: [PATCH] Block the mouse while OSD is active. --- user_io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user_io.c b/user_io.c index 4ff2145..879173a 100644 --- a/user_io.c +++ b/user_io.c @@ -1509,6 +1509,8 @@ static void send_keycode(unsigned short key, int press) void user_io_mouse(unsigned char b, int16_t x, int16_t y) { + if (osd_is_visible) return; + // send mouse data as minimig expects it if (core_type == CORE_TYPE_MINIMIG2) {