Skip to content

Commit

Permalink
#812 macos fix: we now have to call set_direction to ensure the proxy…
Browse files Browse the repository at this point in the history
… is enabled

git-svn-id: https://xpra.org/svn/Xpra/trunk@22478 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Apr 20, 2019
1 parent d657a96 commit e4eb63d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/xpra/platform/darwin/osx_clipboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ def __init__(self, *args, **kwargs):
GDKClipboardProtocolHelper.__init__(self, *args, **kwargs)

def make_proxy(self, clipboard):
return OSXClipboardProxy(clipboard)
proxy = OSXClipboardProxy(clipboard)
proxy.set_direction(self.can_send, self.can_receive)
return proxy

def _do_munge_raw_selection_to_wire(self, target, dtype, dformat, data):
#override so we can catch weird OSX data:
Expand Down

0 comments on commit e4eb63d

Please sign in to comment.