Skip to content

Commit

Permalink
#276: "disabled" is a valid clipboard-direction
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@14641 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Dec 29, 2016
1 parent 8e55a9d commit 8774229
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xpra/scripts/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,8 @@ def fixup_clipboard(options):
options.clipboard_direction = "to-client"
elif cd=="both":
options.clipboard_direction = "both"
elif cd=="disabled" or cd=="none":
options.clipboard_direction = "disabled"
else:
warn("Warning: invalid value for clipboard-direction: '%s'" % options.clipboard_direction)
warn(" specify 'to-server', 'to-client' or 'both'")
Expand Down

0 comments on commit 8774229

Please sign in to comment.