summaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r--src/MenuCreator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index baa49fb..48f3151 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -200,10 +200,10 @@ public:
200 WindowCmd<void>::window()->setUnfocusedAlpha(alpha); 200 WindowCmd<void>::window()->setUnfocusedAlpha(alpha);
201 } 201 }
202 202
203 void setUseDefaultAlpha(bool use_default) { 203 void setDefaultAlpha() {
204 if (WindowCmd<void>::window() == 0) 204 if (WindowCmd<void>::window() == 0)
205 return; 205 return;
206 WindowCmd<void>::window()->setUseDefaultAlpha(use_default); 206 WindowCmd<void>::window()->setDefaultAlpha();
207 } 207 }
208 208
209}; 209};