diff options
Diffstat (limited to 'konsole/konsole/konsole.cpp')
-rw-r--r-- | konsole/konsole/konsole.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/konsole/konsole/konsole.cpp b/konsole/konsole/konsole.cpp index 973e17abe..2af5da9ea 100644 --- a/konsole/konsole/konsole.cpp +++ b/konsole/konsole/konsole.cpp @@ -1634,9 +1634,15 @@ void Konsole::readProperties(KConfig* config, const TQString &schema, bool globa if (te) { if (sch->useTransparency()) { - if (!rootxpms[te]) - rootxpms.insert( te, new KRootPixmap(te) ); - rootxpms[te]->setFadeEffect(sch->tr_x(), TQColor(sch->tr_r(), sch->tr_g(), sch->tr_b())); + if (!argb_visual) { + if (!rootxpms[te]) + rootxpms.insert( te, new KRootPixmap(te) ); + rootxpms[te]->setFadeEffect(sch->tr_x(), TQColor(sch->tr_r(), sch->tr_g(), sch->tr_b())); + } + else { + te->setBlendColor(tqRgba(sch->tr_r(), sch->tr_g(), sch->tr_b(), int(sch->tr_x() * 255))); + te->setErasePixmap( TQPixmap() ); // make sure any background pixmap is unset + } } else { |