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

2012-05-16 Thread Marc-André Lureau
On Sun, May 13, 2012 at 12:58 PM, Arnon Gilboa agil...@redhat.com wrote: use ENUM_CURRENT_SETTINGS instead That's not the same, it's an invalid (positive) mode 0xfff vs current mode represented by value -1. Using current mode, the miniport is not queried again, and the list is not

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

2012-05-13 Thread Alon Levy
On Fri, May 11, 2012 at 06:39:18PM +0200, Marc-André Lureau wrote: 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

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

2012-05-13 Thread Arnon Gilboa
Alon Levy wrote: On Fri, May 11, 2012 at 06:39:18PM +0200, Marc-André Lureau wrote: 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

[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 ---