aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-02-27 12:29:13 (GMT)
committerfluxgen <fluxgen>2004-02-27 12:29:13 (GMT)
commitb7077b18d03d34a7bb4ac5ecae5e3d61b3d38d79 (patch)
tree20450f7349688d79569ddb1d5d0dd1a5e77cfa99
parent2b7c80b18304128c7017c9b3e92fe66c42fcd4d6 (diff)
downloadfluxbox-b7077b18d03d34a7bb4ac5ecae5e3d61b3d38d79.zip
fluxbox-b7077b18d03d34a7bb4ac5ecae5e3d61b3d38d79.tar.bz2
fixed some transparent bugs
-rw-r--r--src/WinButton.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/WinButton.cc b/src/WinButton.cc
index 6af0dae..a72b696 100644
--- a/src/WinButton.cc
+++ b/src/WinButton.cc
@@ -19,7 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22/// $Id: WinButton.cc,v 1.17 2004/01/10 00:37:35 rathnor Exp $ 22/// $Id: WinButton.cc,v 1.18 2004/02/27 12:29:13 fluxgen Exp $
23 23
24#include "WinButton.hh" 24#include "WinButton.hh"
25#include "App.hh" 25#include "App.hh"
@@ -228,7 +228,7 @@ void WinButton::drawType(bool clear, bool no_trans) {
228 228
229 if (used || clear) 229 if (used || clear)
230 FbTk::FbWindow::clear(); 230 FbTk::FbWindow::clear();
231 231
232 if (!used && gc() != 0) { // must have valid graphic context 232 if (!used && gc() != 0) { // must have valid graphic context
233 233
234 drawLine(gc(), 234 drawLine(gc(),
@@ -276,8 +276,8 @@ void WinButton::drawType(bool clear, bool no_trans) {
276 276
277 break; 277 break;
278 } 278 }
279 if ((used || clear) && !no_trans) 279 // if ((used || clear) && !no_trans)
280 updateTransparent(); 280 updateTransparent();
281} 281}
282 282
283void WinButton::clear() { 283void WinButton::clear() {