Skip to contentSkip to conversation

Increase VNC_MAX_WIDTH

PATCH Applied Brian Jackson 2 participants 2 messages Feb 8, 2010 – Feb 10, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Increase VNC_MAX_WIDTH

Increase VNC_MAX_WIDTH to match "commonly available" consumer level monitors available these days.

This also closes KVM bug 2907597

---
 vnc.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
vnc.h +1 -1
index 1210824..1575af2 100644
@@ -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))
#1 lore raw
Quoted 7 lines · Brian Jackson

Increase VNC_MAX_WIDTH to match "commonly available" consumer level monitors available these days.

This also closes KVM bug 2907597

Applied. Thanks.

Regards,

Anthony Liguori

Quoted 21 lines
---
  vnc.h |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
vnc.h +1 -1
index 1210824..1575af2 100644
@@ -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))