xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #11, comment 2


Ignore:
Timestamp:
04/18/13 17:50:29 (8 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11, comment 2

    initial v1  
    1313The [http://developer.apple.com/carbon/pasteboards.html apple pasteboards doc] seems to have sync methods, but none that would call back to us whenever the clipboard's contents changes so we may have to poll it whenever we get a clipboard message from the server or when the application becomes (in)active. (via {{{NSApplicationWillResignActive}}} / {{{NSApplicationDidBecomeActive}}})
    1414See [http://developer.apple.com/library/mac/#documentation/Carbon/Reference/Pasteboard_Reference/Reference/reference.html#//apple_ref/c/func/PasteboardSynchronize PasteboardSynchronize] and [http://developer.apple.com/library/mac/#documentation/Carbon/Reference/Pasteboard_Reference/Reference/reference.html#//apple_ref/c/func/PasteboardSetPromiseKeeper SetPromiseKeeper].
    15 The only python code I can find that does anything remotely similar is [http://www.koders.com/python/fid730FD8116A444260603FA3A49AEB30DB6B3E02BD.aspx clipboard/carbon.py] which uses pyglet.. not keen on adding yet-another-dependency, but may have to.
     15The only python code I can find that does anything remotely similar is {{{clipboard/carbon.py}}} (now dead link) which uses pyglet.. not keen on adding yet-another-dependency, but may have to.