]> git.saurik.com Git - veency.git/commitdiff
Remove the now-obsolete VNCSetSender() function. v0.9.3402
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 14 Jul 2014 01:43:50 +0000 (18:43 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 14 Jul 2014 01:43:50 +0000 (18:43 -0700)
Tweak.mm

index e0377fea939cd4b6123abfd7bd0541fc269153cf..a944f096b55b98217ce909a2ef9a86784f568ce4 100644 (file)
--- a/Tweak.mm
+++ b/Tweak.mm
@@ -597,16 +597,12 @@ static void VNCPointerOld(int buttons, int x, int y, CGPoint location, int diff,
         mach_port_deallocate(mach_task_self(), purple);
 }
 
-static void VNCSetSender(IOHIDEventRef event) {
-    IOHIDEventSetSenderID(event, 0xDEFACEDBEEFFECE5);
-}
-
 static void VNCSendHIDEvent(IOHIDEventRef event) {
     static IOHIDEventSystemClientRef client_(NULL);
     if (client_ == NULL)
         client_ = IOHIDEventSystemClientCreate(kCFAllocatorDefault);
 
-    VNCSetSender(event);
+    IOHIDEventSetSenderID(event, 0xDEFACEDBEEFFECE5);
     IOHIDEventSystemClientDispatchEvent(client_, event);
     CFRelease(event);
 }