* [PATCH] ioemu: fix VNC case when switching from 32bpp to 24bpp
@ 2008-03-21 11:41 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2008-03-21 11:41 UTC (permalink / raw)
To: xen-devel
ioemu: fix VNC case when switching from 32bpp to 24bpp
Event if we don't need to tell the client to redepth, we need to tell
e.g. xenfb that we can't share the buffer any more.
diff -r 87c17a6c540c tools/ioemu/vnc.c
--- a/tools/ioemu/vnc.c Fri Mar 21 10:06:06 2008 +0000
+++ b/tools/ioemu/vnc.c Fri Mar 21 11:37:28 2008 +0000
@@ -1636,8 +1636,8 @@ static void vnc_dpy_colourdepth(DisplayS
switch (depth) {
case 24:
+ ds->shared_buf = 0;
if (ds->depth == 32) return;
- ds->shared_buf = 0;
depth = 32;
break;
case 0:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-21 11:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-21 11:41 [PATCH] ioemu: fix VNC case when switching from 32bpp to 24bpp Samuel Thibault
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.