spice/client
Arnon Gilboa f605e2774d client/windows: fix SetClipboardViewer error handling rhbz#786554
MSDN says the following about SetClipboardViewer(): "If an error occurs or there
are no other windows in the clipboard viewer chain, the return value is NULL".
Seems like the buggy case was "no other windows in the clipboard viewer chain",
which explains the 3rd party clipboard manager workaround detailed in the bug
description.

It also seems like SetClipboardViewer() does not clear the error state on
succcess. Calling SetLastError(0) before SetClipboardViewer() seems to solves
this issue.

Since we could not reproduce the bug on our env, the customer has verified on
several of their systems that a private build resolved the issue.
2012-03-01 14:16:49 +02:00
..
gui Fix various comparison between signed and unsigned integer expressions warnings 2012-01-23 15:58:13 +01:00
tests controller_test: add README 2012-02-28 14:40:42 +02:00
windows client/windows: fix SetClipboardViewer error handling rhbz#786554 2012-03-01 14:16:49 +02:00
x11 client X11: support volume keys when evdev is in use 2012-03-01 08:59:19 +02:00
.gitignore Update .gitignore with a few more generated files 2012-01-23 12:28:58 +02:00
application.cpp Fix compilation when smartcard support is disabled 2012-02-29 18:20:01 +01:00
application.h Fix compilation when smartcard support is disabled 2012-02-29 18:20:01 +01:00
audio_channels.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
audio_devices.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
cache.hpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
canvas.cpp client: rewrite surfaces cache 2011-11-02 11:30:21 +02:00
canvas.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
client_net_socket.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
client_net_socket.h Fix spelling errors in comments and strings 2010-05-21 10:51:28 +02:00
cmd_line_parser.cpp More comparison between signed and unsigned integer expressions warning fixes 2012-01-23 20:33:27 +01:00
cmd_line_parser.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
common.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
controller.cpp Fix compilation when smartcard support is disabled 2012-02-29 18:20:01 +01:00
controller.h Fix compilation when smartcard support is disabled 2012-02-29 18:20:01 +01:00
cursor_channel.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
cursor_channel.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
cursor.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
cursor.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
debug.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
demarshallers.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
display_channel.cpp Remove trailing whitespace from end of lines 2012-01-13 18:11:59 +02:00
display_channel.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
event_sources.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
foreign_menu.cpp client/foreign_menu: arm build fix 2012-01-22 15:13:32 +02:00
foreign_menu.h client: foreign-menu: pass "active" param when creating a ForeignMenu (#769020) 2011-12-20 18:44:11 +02:00
glz_decode_tmpl.c Remove trailing whitespace from end of lines 2012-01-13 18:11:59 +02:00
glz_decoded_image.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
glz_decoder_config.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
glz_decoder_window.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
glz_decoder_window.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
glz_decoder.cpp More comparison between signed and unsigned integer expressions warning fixes 2012-01-23 20:33:27 +01:00
glz_decoder.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
hot_keys.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
hot_keys.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
icon.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
inputs_channel.cpp client: keyboard - add mapping for volume keys 2012-03-01 08:58:52 +02:00
inputs_channel.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
inputs_handler.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
jpeg_decoder.cpp Remove trailing whitespace from end of lines 2012-01-13 18:11:59 +02:00
jpeg_decoder.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
Makefile.am client/Makefile.am: mingw32 fixes 2012-01-13 17:42:21 +02:00
marshallers.h sndworker: add AudioVolume/AudioMute messages 2011-06-22 12:12:26 +02:00
menu.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
menu.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
mjpeg_decoder.cpp client: mingw32 build needs the jpeg_boolean define 2012-01-13 17:42:22 +02:00
mjpeg_decoder.h mingw32 build: fix signed/unsigned warnings as errors 2010-12-08 17:11:45 +02:00
monitor.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
monitor.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
pixels_source.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
platform.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
playback_channel.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
process_loop.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
process_loop.h mingw32 build: fix signed/unsigned warnings as errors 2010-12-08 17:11:45 +02:00
read_write_mutex.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
record_channel.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_canvas_base.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00
red_channel.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_channel.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_client.cpp Remove trailing whitespace from end of lines 2012-01-13 18:11:59 +02:00
red_client.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_drawable.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_gdi_canvas.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_gdi_canvas.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_gl_canvas.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_gl_canvas.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_key.h client: keyboard - add mapping for volume keys 2012-03-01 08:58:52 +02:00
red_peer.cpp client: rename connect_unsecure to connect_to_peer 2011-07-18 18:15:40 +02:00
red_peer.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_pixmap_gdi.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_pixmap_gl.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_pixmap_sw.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_pixmap.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_sw_canvas.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_sw_canvas.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_types.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
red_window.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
screen_layer.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
screen_layer.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
screen.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
screen.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
shared_cache.hpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
smartcard_channel.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
smartcard_channel.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
threads.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
threads.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
tunnel_channel.cpp add #include <config.h> to all source files 2011-05-03 14:44:10 +02:00
tunnel_channel.h mingw32 build: fix signed/unsigned warnings as errors 2010-12-08 17:11:45 +02:00
utils.cpp Remove trailing blank lines 2012-01-13 18:11:59 +02:00
utils.h Remove trailing blank lines 2012-01-13 18:11:59 +02:00
zlib_decoder.cpp Remove trailing whitespace from end of lines 2012-01-13 18:11:59 +02:00
zlib_decoder.h autotools: correctly build canvas-related code 2011-05-03 14:44:10 +02:00