diff options
Diffstat (limited to 'src/FbRootWindow.cc')
-rw-r--r-- | src/FbRootWindow.cc | 2 |
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 | } |