diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-10-02 16:29:36 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-10-02 16:29:36 +0200 |
commit | 8a160078d0852ff5a2f8ec438cec1b18858e3c5d (patch) | |
tree | 05b7cdfb2523242e013e561c8a83a630e4762eaf /client/event_sources.h | |
parent | deb849dfd54deafa894692f4e44208c2de9f33aa (diff) | |
download | spice-8a160078d0852ff5a2f8ec438cec1b18858e3c5d.tar.gz spice-8a160078d0852ff5a2f8ec438cec1b18858e3c5d.tar.xz spice-8a160078d0852ff5a2f8ec438cec1b18858e3c5d.zip |
Keep track of clipboard ownership
Given that all clipboard handling is async, it is possible to for
example receive a request for clipboard data from the agent
while the client no longer owns the clipboard (ie a
VD_AGENT_CLIPBOARD_RELEASE message is in transit to the agent).
Thus it is necessary to keep track of our notion of clipboard ownership
and check received clipboard messages (both from other apps on the client
machine and from the agent) to see if they match our notion and if not
drop, or in case were a counter message is expected nack the clipboard
message.
Diffstat (limited to 'client/event_sources.h')
0 files changed, 0 insertions, 0 deletions