diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-01 01:12:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-01 01:12:34 +0000 |
commit | cbb186912dae337ea11a79544b4a79bb3e69e9aa (patch) | |
tree | 4a8184a4c7a9c4bc3d71bf1750ebb594f9388403 /konsole | |
parent | 5f8350de50fdadf4f5b9421678122bd6c3dca7f7 (diff) | |
download | tdebase-cbb186912dae337ea11a79544b4a79bb3e69e9aa.tar.gz tdebase-cbb186912dae337ea11a79544b4a79bb3e69e9aa.zip |
Fix kompmgr artifacts when resizing shaped windows
Restore original konsole opacity for background colors when ARGB visuals are active
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1250652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konsole')
-rw-r--r-- | konsole/konsole/TEWidget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/konsole/konsole/TEWidget.cpp b/konsole/konsole/TEWidget.cpp index 32f6da202..38862fb18 100644 --- a/konsole/konsole/TEWidget.cpp +++ b/konsole/konsole/TEWidget.cpp @@ -99,6 +99,8 @@ extern bool argb_visual; // declared in main.cpp and konsole_part.cpp +bool draw_translucent_background_colors = false; // FIXME move to a GUI configuration setting + // scroll increment used when dragging selection at top/bottom of window. // static @@ -629,7 +631,7 @@ void TEWidget::drawAttrStr(TQPainter &paint, TQRect rect, attr->b == cacol(CO_DFT, colorsSwapped ? DEFAULT_FORE_COLOR : DEFAULT_BACK_COLOR) ) // draw background colors with 75% opacity - if ( argb_visual && tqAlpha(blend_color) < 0xff ) { + if ( draw_translucent_background_colors && argb_visual && tqAlpha(blend_color) < 0xff ) { QRgb col = bColor.rgb(); TQ_UINT8 salpha = 192; |