Skip to content

Commit

Permalink
expose all targets
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Aug 27, 2024
1 parent 1ec9ff7 commit 61ecf3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions xpra/x11/gtk_x11/clipboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ def got_token(self, targets, target_data=None, claim=True, synchronous_client=Fa
if claim:
self._have_token = True
if self._can_receive:
if target_data:
# ensure we also expose the targets in the target_data:
# ie: {'UTF8_STRING': ('UTF8_STRING', 8, b'foobar')}
targets = list(targets) + list(target_data.keys())
self.targets = tuple(bytestostr(x) for x in (targets or ()))
self.target_data = target_data or {}
if targets and claim:
Expand Down

0 comments on commit 61ecf3f

Please sign in to comment.