spice/client/windows
Arnon Gilboa 30f347e41a 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:18:57 +02:00
..
atomic_count.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
event_sources_p.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
event_sources_p.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
generate1.bat client: add --include "common.h" for generated marshallers 2010-06-29 13:59:46 +02:00
generate.bat client: add --include "common.h" for generated marshallers 2010-06-29 13:59:46 +02:00
main.cpp client/windows: init PACKAGE_VERSION 2011-05-24 12:29:13 +03:00
Makefile.am Drop static_title.bmp from windows/Makefile.am 2011-02-11 15:37:54 +01:00
my_getopt.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
named_pipe.cpp spicec-win: move named_pipe defines 2010-10-17 17:03:37 +02:00
named_pipe.h spicec-win: move named_pipe defines 2010-10-17 17:03:37 +02:00
pixels_source_p.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
pixels_source.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
platform_utils.cpp Remove no longer used wstring_printf functions 2010-10-21 13:22:01 +02:00
platform_utils.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
platform.cpp client/windows: fix SetClipboardViewer error handling rhbz#786554 2012-03-01 14:18:57 +02:00
playback.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
playback.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
record.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
record.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
red_drawable.cpp Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00
red_pixmap_gdi.cpp client: Support 16bpp pixmaps on win32 2010-04-29 13:34:16 +02:00
red_pixmap_sw.cpp Remove all mentions of "cairo" from the code 2010-05-03 12:38:02 +02:00
red_pixmap.cpp Move RedPixmap::Format to RedDrawable::Format 2010-04-23 16:36:35 +02:00
red_window_p.h client: Report window format right for win32 2010-04-29 13:34:44 +02:00
red_window.cpp client: menu: make RedWindow::set_menu() return an error-code (#758260) 2011-12-21 13:04:01 +02:00
redc.rc spicec: Remove spice-client watermark (rhbz#662450) 2011-02-02 10:15:04 +02:00
redc.sln spicec-win: add x64 to vcproj & sln (v2) 2010-10-25 08:35:56 +02:00
redc.vcproj client/windows: enable image randomization (ASLR) rhbz#701111 2011-07-21 15:09:28 +03:00
resource.h spicec: Remove spice-client watermark (rhbz#662450) 2011-02-02 10:15:04 +02:00
spice.ico client: use spice icon instead-of solidice icon 2010-01-04 21:13:03 +02:00
spicec.exe.manifest fresh start 2009-10-14 15:06:41 +02:00
stdint.h client/windows: undef SIZE_MAX in stdint.h 2011-07-21 15:09:28 +03:00
sticky_alt.bmp spice client: sticky Alt activation when holding an Alt key: bug #505912. 2009-11-15 13:41:10 +02:00
win_platform.h Relicense everything from GPL to LGPL 2.1+ 2010-04-13 22:22:15 +02:00