diff options
author | runge <runge> | 2007-01-10 19:28:46 +0000 |
---|---|---|
committer | runge <runge> | 2007-01-10 19:28:46 +0000 |
commit | 7717d245af144d36662e6884592277570dea17b5 (patch) | |
tree | 2698748e9190b43a210946508601b9eecd71630c /x11vnc/xinerama.c | |
parent | 5b3e420c1f092fc8d83ad1803621007bb942d4dd (diff) | |
download | libtdevnc-7717d245af144d36662e6884592277570dea17b5.tar.gz libtdevnc-7717d245af144d36662e6884592277570dea17b5.zip |
some -ncache performance improvements, rootpixmap watching, gnome wm heuristics
Diffstat (limited to 'x11vnc/xinerama.c')
-rw-r--r-- | x11vnc/xinerama.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/x11vnc/xinerama.c b/x11vnc/xinerama.c index 7c36c93..f1f919f 100644 --- a/x11vnc/xinerama.c +++ b/x11vnc/xinerama.c @@ -418,6 +418,9 @@ void zero_fb(int x1, int y1, int x2, int y2) { #ifndef NO_NCACHE if (ncache > 0) { yfac = 1+ncache; + if (ncache_xrootpmap) { + yfac++; + } } #endif |