[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] ioemu: fix VNC case when switching from 32bpp to 24bpp
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1206440666 0 # Node ID 4a4860ced89725f08798153f659c9714adb87734 # Parent 71b8f46f376d5a5ff433fcb5eafcab0d89046464 ioemu: fix VNC case when switching from 32bpp to 24bpp Even 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. Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx> --- tools/ioemu/vnc.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 71b8f46f376d -r 4a4860ced897 tools/ioemu/vnc.c --- a/tools/ioemu/vnc.c Tue Mar 25 10:23:29 2008 +0000 +++ b/tools/ioemu/vnc.c Tue Mar 25 10:24:26 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: _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |