ioemu: fix VNC case when switching from 32bpp to 24bpp
PATCH 1/1 ioemu: fix VNC case when switching from 32bpp to 24bpp
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.
tools/ioemu/vnc.c +1 -1
@@ -1636,8 +1636,8 @@ static void vnc_dpy_colourdepth(DisplaySswitch (depth) {case 24 : + ds->shared_buf =0 ;if (ds->depth ==32 )return ; - ds->shared_buf =0 ; depth =32 ;break ;case 0 :