From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] ioemu: fix VNC case when switching from 32bpp to 24bpp
Date: Fri, 21 Mar 2008 11:41:05 +0000 [thread overview]
Message-ID: <20080321114105.GA5182@implementation.uk.xensource.com> (raw)
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:
reply other threads:[~2008-03-21 11:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080321114105.GA5182@implementation.uk.xensource.com \
--to=samuel.thibault@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.