Patchwork [1/1] Increase VNC_MAX_WIDTH

login
register
mail settings
Submitter Brian Jackson
Date Feb. 8, 2010, 8:22 p.m.
Message ID <201002081422.29418.iggy@theiggy.com>
Download mbox | patch
Permalink /patch/44857/
State New
Headers show

Comments

Brian Jackson - Feb. 8, 2010, 8:22 p.m.
Increase VNC_MAX_WIDTH to match "commonly available" consumer level monitors 
available these days.

This also closes KVM bug 2907597

Signed-off-by: Brian Jackson <iggy@theiggy.com>
---
 vnc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Anthony Liguori - Feb. 10, 2010, 9:42 p.m.
On 02/08/2010 02:22 PM, Brian Jackson wrote:
> Increase VNC_MAX_WIDTH to match "commonly available" consumer level monitors
> available these days.
>
> This also closes KVM bug 2907597
>
> Signed-off-by: Brian Jackson<iggy@theiggy.com>
>    

Applied.  Thanks.

Regards,

Anthony Liguori
> ---
>   vnc.h |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/vnc.h b/vnc.h
> index 1210824..1575af2 100644
> --- a/vnc.h
> +++ b/vnc.h
> @@ -68,7 +68,7 @@ typedef void VncSendHextileTile(VncState *vs,
>                                   void *last_fg,
>                                   int *has_bg, int *has_fg);
>
> -#define VNC_MAX_WIDTH 2048
> +#define VNC_MAX_WIDTH 2560
>   #define VNC_MAX_HEIGHT 2048
>   #define VNC_DIRTY_WORDS (VNC_MAX_WIDTH / (16 * 32))
>
>
>
>
>

Patch

diff --git a/vnc.h b/vnc.h
index 1210824..1575af2 100644
--- a/vnc.h
+++ b/vnc.h
@@ -68,7 +68,7 @@  typedef void VncSendHextileTile(VncState *vs,
                                 void *last_fg,
                                 int *has_bg, int *has_fg);

-#define VNC_MAX_WIDTH 2048
+#define VNC_MAX_WIDTH 2560
 #define VNC_MAX_HEIGHT 2048
 #define VNC_DIRTY_WORDS (VNC_MAX_WIDTH / (16 * 32))