Skip to content

Commit

Permalink
#276: osx clients receive the token and data all at once, also filter…
Browse files Browse the repository at this point in the history
… out data in this overriden receive method

git-svn-id: https://xpra.org/svn/Xpra/trunk@13976 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Oct 3, 2016
1 parent 3f4c7f9 commit 5510f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/platform/darwin/osx_clipboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def got_token(self, targets, target_data):
for target in targets:
self.selection_add_target(self._selection, target, 0)
self.selection_owner_set(self._selection)
if target_data:
if target_data and self._can_receive:
for text_target in TEXT_TARGETS:
if text_target in target_data:
text_data = target_data.get(text_target)
Expand Down

0 comments on commit 5510f8e

Please sign in to comment.