aboutsummaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2007-12-27 04:42:10 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2007-12-27 04:42:10 (GMT)
commit1f5cd12facc662de240b36bf3c5c14f40adf391b (patch)
treed468908abf2e988265b0c2295dbd265d82ef89b6 /src/MenuCreator.cc
parentf5024351e79e92d551d561e9756f0869e51af505 (diff)
downloadfluxbox-1f5cd12facc662de240b36bf3c5c14f40adf391b.zip
fluxbox-1f5cd12facc662de240b36bf3c5c14f40adf391b.tar.bz2
simplify the window transparency menu and handling a bit
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};