Show More
@@ -83,11 +83,24 b' def _NSApp():' | |||||
83 |
|
83 | |||
84 | def _wake(NSApp): |
|
84 | def _wake(NSApp): | |
85 | """Wake the Application""" |
|
85 | """Wake the Application""" | |
86 | objc.objc_msgSend.argtypes = [void_p, void_p, void_p, void_p, void_p, void_p, |
|
86 | objc.objc_msgSend.argtypes = [ | |
87 | void_p, void_p, void_p, void_p, void_p] |
|
87 | void_p, | |
88 | event = msg(C('NSEvent'), |
|
88 | void_p, | |
89 | n('otherEventWithType:location:modifierFlags:' |
|
89 | void_p, | |
90 | 'timestamp:windowNumber:context:subtype:data1:data2:'), |
|
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 | ), | |||
91 | 15, # Type |
|
104 | 15, # Type | |
92 | 0, # location |
|
105 | 0, # location | |
93 | 0, # flags |
|
106 | 0, # flags |
General Comments 0
You need to be logged in to leave comments.
Login now