From b5e122ba60ea67a9bba54a1f457ea425a77be788 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 24 Jan 2014 09:49:32 -0800 Subject: [PATCH] Just in case, cancel menu action when menu is held. --- CydgetLoader.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CydgetLoader.mm b/CydgetLoader.mm index 8615000..c73ae20 100644 --- a/CydgetLoader.mm +++ b/CydgetLoader.mm @@ -245,6 +245,11 @@ MSInstanceMessageHook1(void, SBUserAgent, dimScreen, BOOL, dim) { MSOldCall(dim); } +MSInstanceMessageHook0(void, SpringBoard, _menuButtonWasHeld) { + menu_ = false; + MSOldCall(); +} + MSInstanceMessageHook1(void, SpringBoard, _menuButtonDown, GSEventRef, event) { menu_ = true; MSOldCall(event); -- 2.45.2