##// END OF EJS Templates
Fix formatting.
Eli Rykoff -
Show More
@@ -83,20 +83,33 b' def _NSApp():'
83 83
84 84 def _wake(NSApp):
85 85 """Wake the Application"""
86 objc.objc_msgSend.argtypes = [void_p, void_p, void_p, void_p, void_p, void_p,
87 void_p, void_p, void_p, void_p, void_p]
88 event = msg(C('NSEvent'),
89 n('otherEventWithType:location:modifierFlags:'
90 'timestamp:windowNumber:context:subtype:data1:data2:'),
91 15, # Type
92 0, # location
93 0, # flags
94 0, # timestamp
95 0, # window
96 None, # context
97 0, # subtype
98 0, # data1
99 0, # data2
86 objc.objc_msgSend.argtypes = [
87 void_p,
88 void_p,
89 void_p,
90 void_p,
91 void_p,
92 void_p,
93 void_p,
94 void_p,
95 void_p,
96 void_p,
97 void_p]
98 event = msg(
99 C("NSEvent"),
100 n(
101 "otherEventWithType:location:modifierFlags:"
102 "timestamp:windowNumber:context:subtype:data1:data2:"
103 ),
104 15, # Type
105 0, # location
106 0, # flags
107 0, # timestamp
108 0, # window
109 None, # context
110 0, # subtype
111 0, # data1
112 0, # data2
100 113 )
101 114 objc.objc_msgSend.argtypes = [void_p, void_p, void_p, void_p]
102 115 msg(NSApp, n('postEvent:atStart:'), void_p(event), True)
General Comments 0
You need to be logged in to leave comments. Login now