From: Jay Freeman (saurik) Date: Thu, 31 Mar 2011 23:12:42 +0000 (+0000) Subject: Stop taking away my keyboard! X-Git-Tag: v0.9.4003~6 X-Git-Url: https://git.saurik.com/cydget.git/commitdiff_plain/672fa884bee5352a88404de7015b608ad83015a0 Stop taking away my keyboard! --- diff --git a/Tweak.mm b/Tweak.mm index 0d501cc..c4c0eb3 100644 --- a/Tweak.mm +++ b/Tweak.mm @@ -221,6 +221,12 @@ MSInstanceMessageHook1(void, SBAwayController, _finishedUnlockAttemptWithStatus, MSOldCall(status); } +// this is called occasionally by -[SBAwayView updateInterface] and takes away our keyboard +MSInstanceMessageHook0(void, SBAwayView, _fixupFirstResponder) { + if (online_ == 0) + return MSOldCall(); +} + MSInstanceMessageHook0(void, SBAwayView, updateInterface) { MSOldCall();