Skip to content

Commit

Permalink
#272 anti-confusion: we must send the anti-token if we have it! (not …
Browse files Browse the repository at this point in the history
…if we don't have it!) - ensures we do send the initial tokens

git-svn-id: https://xpra.org/svn/Xpra/trunk@3399 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed May 16, 2013
1 parent 3ac5707 commit 3bc750c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/clipboard/clipboard_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def do_selection_clear_event(self, event):
debug("do_selection_clear_event(%s) selection=%s", event, self._selection)
#if greedy_client is set, do_owner_changed will fire the token
#so don't bother sending it now (same if we don't have it)
send = ((not self._greedy_client or self._block_owner_change) or not self._have_token)
send = ((self._greedy_client and not self._block_owner_change) or self._have_token)
self._have_token = False

# Emit a signal -> send a note to the other side saying "hey its
Expand Down

0 comments on commit 3bc750c

Please sign in to comment.