]> git.saurik.com Git - cydget.git/blobdiff - Tweak.mm
Support application URL schemes.
[cydget.git] / Tweak.mm
index 0d501cc756e9ea3454fab29b067c803955b74559..c4c0eb387c38ef7962e8839e1970f053396f66e1 100644 (file)
--- 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();