summaryrefslogtreecommitdiff
path: root/src/BaseDisplay.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/BaseDisplay.cc')
-rw-r--r--src/BaseDisplay.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BaseDisplay.cc b/src/BaseDisplay.cc
index 305973ac..51d79399 100644
--- a/src/BaseDisplay.cc
+++ b/src/BaseDisplay.cc
@@ -411,7 +411,7 @@ const ScreenInfo* BaseDisplay::getScreenInfo(unsigned int s) const {
BGCCache* BaseDisplay::gcCache(void) const {
if (! gccache)
- gccache = new BGCCache(this);
+ gccache = new BGCCache(this, screenInfoList.size());
return gccache;
}