Skip to content

Commit

Permalink
fix OSX shadow server crashes
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@12250 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Mar 28, 2016
1 parent f501e8b commit f7b1d62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/xpra/platform/darwin/shadow_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ def fake_key(self, keycode, press):
#CGEventSetFlags(keyPress, modifierFlags)
#modifierFlags: kCGEventFlagMaskShift, ...
CG.CGEventPost(CG.kCGSessionEventTap, e)
CG.CFRelease(e)
#this causes crashes, don't do it!
#CG.CFRelease(e)

def _process_button_action(self, proto, packet):
wid, button, pressed, pointer, modifiers = packet[1:6]
Expand Down

0 comments on commit f7b1d62

Please sign in to comment.