Go to file
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
build-aux build-sys: Use git-version-gen 2012-10-31 10:11:47 +01:00
common Revert "vdagent: add vdagent_helper to support mouse when UAC dialog takes focus" 2013-04-22 11:17:40 +03:00
spice-protocol@1e378a1049 Update spice-protocol to 0.12 2012-07-25 10:46:52 +02:00
tests clipboard tester 2010-08-23 19:43:39 +03:00
vdagent Try harder to enable monitors 2013-04-24 12:00:18 +03:00
vdservice vdservice: add quotes to service path 2013-04-22 11:17:42 +03:00
.gitmodules Use spice-protocol submodule 2012-05-24 13:55:31 +02:00
autogen.sh build-sys: Fix autogen.sh permissions 2012-10-01 19:20:22 +02:00
configure.ac spec: Automatically substitute version 2013-02-15 20:06:32 +01:00
git.mk mingw: add autotools build system 2012-03-01 12:59:05 +01:00
Makefile.am build-sys: remove *vdi_port* from Makefile.am 2012-12-09 11:40:34 +02:00
mingw-spice-vdagent.spec.in spec: Automatically substitute version 2013-02-15 20:06:32 +01:00
vdagent.sln Revert "vdagent: add vdagent_helper to support mouse when UAC dialog takes focus" 2013-04-22 11:17:40 +03:00