diff options
-rw-r--r-- | src/FbRootWindow.cc | 2 | ||||
-rw-r--r-- | src/Remember.cc | 3 |
2 files changed, 3 insertions, 2 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 | } |
diff --git a/src/Remember.cc b/src/Remember.cc index acbbddf..77cc889 100644 --- a/src/Remember.cc +++ b/src/Remember.cc | |||
@@ -247,6 +247,7 @@ string escapeRememberChars(const string& str) { | |||
247 | escaped_str += '\\'; | 247 | escaped_str += '\\'; |
248 | default: | 248 | default: |
249 | escaped_str += *i; | 249 | escaped_str += *i; |
250 | break; | ||
250 | } | 251 | } |
251 | } | 252 | } |
252 | 253 | ||
@@ -982,7 +983,7 @@ void Remember::save() { | |||
982 | case (WindowState::DECOR_BORDER): | 983 | case (WindowState::DECOR_BORDER): |
983 | apps_file << " [Deco]\t{BORDER}" << endl; | 984 | apps_file << " [Deco]\t{BORDER}" << endl; |
984 | break; | 985 | break; |
985 | case (WindowState::DECORM_TAB): | 986 | case (WindowState::DECOR_TAB): |
986 | apps_file << " [Deco]\t{TAB}" << endl; | 987 | apps_file << " [Deco]\t{TAB}" << endl; |
987 | break; | 988 | break; |
988 | default: | 989 | default: |