瀏覽代碼

Do not explicitly enable backing store support, but instead fall back

on the normal Xserver defaults and settings. This currently means that
backing store support will be off by default. This avoids
http://bugs.freedesktop.org/show_bug.cgi?id=19654 and allows us to run
KDE4. 

Also, call miInitializeBackingStore() in the same location as Xvfb calls it. 



git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3668 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v0.0.90
Peter Åstrand 15 年之前
父節點
當前提交
c594c0d549
共有 1 個檔案被更改,包括 1 行新增6 行删除
  1. 1
    6
      unix/xserver/hw/vnc/xvnc.cc

+ 1
- 6
unix/xserver/hw/vnc/xvnc.cc 查看文件

@@ -1145,7 +1145,7 @@ vfbScreenInit(int index, ScreenPtr pScreen, int argc, char **argv)

if (!ret) return FALSE;

/* miInitializeBackingStore(pScreen); */
miInitializeBackingStore(pScreen);

/*
* Circumvent the backing store that was just initialised. This amounts
@@ -1203,11 +1203,6 @@ vfbScreenInit(int index, ScreenPtr pScreen, int argc, char **argv)
pvfb->closeScreen = pScreen->CloseScreen;
pScreen->CloseScreen = vfbCloseScreen;

#ifndef NO_INIT_BACKING_STORE
miInitializeBackingStore(pScreen);
pScreen->backingStoreSupport = Always;
#endif

return ret;

} /* end vfbScreenInit */

Loading…
取消
儲存