win32-vd_agent/vdagent
Marc-André Lureau 8628ca2e09 Try harder to enable monitors
0ba6e2936 was trying to fix CreateDC() failing when the monitor is
disabled, unfortunately, enabling monitor with an arbitrary resolution
may still fail (the previous resolution, or the current one).

This patch address the issue by first trying the current resolution, and
falling back to a well-known resolution. This causes a temporary client
resolution change (bad), which is immediately adjusted to the arbitrary
resolution.

We may want to improve agent->driver communication of arbitrary
resolution before the driver is loaded, perhaps using registry or via
the spice server. Any of these solution will unfortunately take some more
time which we are missing.

https://bugzilla.redhat.com/show_bug.cgi?id=922394

(seem to solve related bugs, like mouse offset, or flashing monitors)
2013-04-24 12:00:18 +03:00
..
desktop_layout.cpp Try harder to enable monitors 2013-04-24 12:00:18 +03:00
desktop_layout.h vdagent: fix cursor position sync on multimon rhbz#757819 2012-02-05 11:52:58 +02:00
display_setting.cpp mingw: remove unused variable 2012-03-01 12:58:29 +01:00
display_setting.h mingw: use const char * in DisplaySetting() 2012-03-01 12:59:05 +01:00
resource.h fresh start 2009-11-05 13:02:54 +02:00
vdagent.cpp Revert "vdagent: add vdagent_helper to support mouse when UAC dialog takes focus" 2013-04-22 11:17:40 +03:00
vdagent.rc vdagent: add win7 support to service for launching agent 2009-12-23 15:31:01 +02:00
vdagent.vcproj vdagent: for Win7 class, use ClipboardFormatListener api 2013-03-18 13:16:22 +02:00