diff options
author | Hans de Goede <hdegoede@redhat.com> | 2010-10-06 16:14:06 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2010-10-06 19:17:08 +0200 |
commit | dddb6ad48ada0ddd5327ee8ab70b87540d5150a5 (patch) | |
tree | 5632fb11e9e0840788d31d9a8c99de062427b10d /client/red_client.cpp | |
parent | 7b84db7a7484b58fdde21029ef374baeaa0a4b51 (diff) | |
download | spice-dddb6ad48ada0ddd5327ee8ab70b87540d5150a5.tar.gz spice-dddb6ad48ada0ddd5327ee8ab70b87540d5150a5.tar.xz spice-dddb6ad48ada0ddd5327ee8ab70b87540d5150a5.zip |
spicec-x11: Remove a race window in selection ownership release code
Well almost remove it, it was possible that another x11 app would acquire
selection ownership, and we would receive a release message from the
agent before having processed the xselection ownership change event.
Then we would set the selection owner to none, overriding the new owner.
As the comment in the patch indicates there still is a minute window left
where something similar can happen after this patch. Nothing we can do
about that (I blame the libX11 selection API).
Diffstat (limited to 'client/red_client.cpp')
0 files changed, 0 insertions, 0 deletions