[Spice-devel] [PATCH spice-protocol] Add QXL_ESCAPE_SET_CUSTOM_DISPLAY

2012-05-11 Thread Marc-André Lureau
QXL_ESCAPE_SET_CUSTOM_DISPLAY is Windows specific message to tell the display & miniport driver to update the mode table with a custom resolution. The mode table needs to be forcefully refreshed after setting a custom display, it can be done by querying an invalid/unknown mode: EnumDisplaySetting

[Spice-devel] [PATCH win-qxl 1/2] build-sys: use spice-protocol submodule

2012-05-11 Thread Marc-André Lureau
--- .gitmodules|3 +++ build.bat |5 - spice-protocol |1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .gitmodules create mode 16 spice-protocol diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000..f946a4d --- /dev/null

[Spice-devel] [PATCH win-qxl 2/2] Implement custom display resolution

2012-05-11 Thread Marc-André Lureau
--- display/driver.c | 32 +++ include/qxl_driver.h |8 +++- miniport/qxl.c | 108 +- 3 files changed, 144 insertions(+), 4 deletions(-) diff --git a/display/driver.c b/display/driver.c index 5c4578c..ef011ad 100644 ---

[Spice-devel] [PATCH win-agent 1/9] build-sys: fix autoreconf -vfi

2012-05-11 Thread Marc-André Lureau
--- configure.ac |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 77d5c25..28c9d23 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ AC_CONFIG_HEADERS([config.h]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) -AM_I

[Spice-devel] [PATCH win-agent 2/9] Revert "Revert "mingw: remove tMain use""

2012-05-11 Thread Marc-André Lureau
This reverts commit 74af857e8e4a6240e9aac4a3d72aa0e5a443472b. --- vdagent/vdagent.cpp |2 +- vdservice/vdservice.cpp |6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp index 5cbe222..5ef0a18 100644 --- a/vdagent/vdagent.c

[Spice-devel] [PATCH win-agent 3/9] Revert "Revert "mingw: make sure unicode support is enabled""

2012-05-11 Thread Marc-André Lureau
This reverts commit dec8f9d049b884db2bf91c40478c832b4a4628fc. --- Makefile.am |1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index cf514f1..2e845ec 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,7 @@ INCLUDES = \ -I$(top

[Spice-devel] [PATCH win-agent 4/9] mingw: don't use *_s msvcrt variants

2012-05-11 Thread Marc-André Lureau
Apparently, it comes with a recent version of C library (msvcrt90?), but I don't know if we can/should ship also a MS dll. Probably it used to work with an inlined version with VS headers. The build can be tweaked to use the -non-_s variant with -DOLDMSVCRT CFLAGS. --- common/vdcommon.h |4 ++

[Spice-devel] [PATCH win-agent 5/9] mingw: link with RC file to provide needed version information

2012-05-11 Thread Marc-André Lureau
--- Makefile.am | 38 +++--- configure.ac |1 + 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/Makefile.am b/Makefile.am index 2e845ec..a2d2dae 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,10 +1,19 @@ +NULL = +MAINTAINERCLEANFILES = + I

[Spice-devel] [PATCH win-agent 6/9] mingw: compile a non-console binary

2012-05-11 Thread Marc-André Lureau
Otherwise, a console dialog pops up --- Makefile.am |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index a2d2dae..05c4983 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,8 @@ INCLUDES = \ $(SPICE_PROTOCO

[Spice-devel] [PATCH win-agent 7/9] Quit if RegisterServiceCtrlHandler failed

2012-05-11 Thread Marc-André Lureau
--- vdservice/vdservice.cpp |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vdservice/vdservice.cpp b/vdservice/vdservice.cpp index 9c057bb..9fafc7c 100644 --- a/vdservice/vdservice.cpp +++ b/vdservice/vdservice.cpp @@ -415,10 +415,8 @@ VOID WINAPI VDService::main(DWORD a

[Spice-devel] [PATCH win-agent 8/9] Use spice-protocol submodule

2012-05-11 Thread Marc-André Lureau
--- .gitmodules|3 +++ Makefile.am|2 +- autogen.sh | 17 + configure.ac |1 - spice-protocol |1 + 5 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 .gitmodules create mode 100644 autogen.sh create mode 16 spice-protocol d

[Spice-devel] [PATCH win-agent 9/9] Resize to arbitrary resolution

2012-05-11 Thread Marc-André Lureau
Use QXL_ESCAPE_SET_CUSTOM_DISPLAY to update custom mode, and switch to it. --- vdagent/desktop_layout.cpp | 26 ++ 1 file changed, 26 insertions(+) diff --git a/vdagent/desktop_layout.cpp b/vdagent/desktop_layout.cpp index 6e255fc..7564cf6 100644 --- a/vdagent/desktop_la

Re: [Spice-devel] [PATCH win-agent 2/9] Revert "Revert "mingw: remove tMain use""

2012-05-11 Thread Marc-André Lureau
Hi It fixes mingw build. I don't know how this affects the VS build. Can someone try? -- Marc-André Lureau ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Spice-devel] Problem with dual-display full-screen client on X

2012-05-11 Thread Noel Van Hook
Background information: I am running the guest OS (CentOS) with dual heads. I am also running the client on CentOS. When I open the client, two client windows appear (spice0 and spice1), and all is well with the world. The machine I am running the client on has two monitors, and is XRandR compliant