aboutsummaryrefslogtreecommitdiff
path: root/src/FbRootWindow.cc
diff options
context:
space:
mode:
authorMathias Gumz <akira@fluxbox.org>2015-01-16 09:38:32 (GMT)
committerMathias Gumz <akira@fluxbox.org>2015-01-16 09:38:32 (GMT)
commita65e9c686ea8b9c029cb77d3c109f05a36bfe042 (patch)
tree53f038efdedfb9273c4b6e1e539008857b2a3f56 /src/FbRootWindow.cc
parentdf996370d0f6c606e5135bb0a461514f46532195 (diff)
downloadfluxbox-a65e9c686ea8b9c029cb77d3c109f05a36bfe042.zip
fluxbox-a65e9c686ea8b9c029cb77d3c109f05a36bfe042.tar.bz2
Fix semantic errors (wrong variable names etc)
Uncovered by coverity-scan.
Diffstat (limited to 'src/FbRootWindow.cc')
-rw-r--r--src/FbRootWindow.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbRootWindow.cc b/src/FbRootWindow.cc
index 0cd730e..d17d56f 100644
--- a/src/FbRootWindow.cc
+++ b/src/FbRootWindow.cc
@@ -74,6 +74,6 @@ FbRootWindow::FbRootWindow(int screen_num):
74 m_colormap = XCreateColormap(disp, window(), m_visual, AllocNone); 74 m_colormap = XCreateColormap(disp, window(), m_visual, AllocNone);
75 } 75 }
76 if (m_decorationVisual != DefaultVisual(disp, screen_num)) { 76 if (m_decorationVisual != DefaultVisual(disp, screen_num)) {
77 m_decorationColormap = XCreateColormap(disp, window(), m_visual, AllocNone); 77 m_decorationColormap = XCreateColormap(disp, window(), m_decorationVisual, AllocNone);
78 } 78 }
79} 79}