diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-30 22:04:22 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-11-30 22:04:22 -0600 |
commit | 01dcde0a04de8b8f538a823db548341a8db0dd57 (patch) | |
tree | 564d7559420ea9142ebe518b60d2888349b8a243 | |
parent | c15178796e73d4820ac71772809c5e5ec5bfb8f0 (diff) | |
download | tdebase-01dcde0a04de8b8f538a823db548341a8db0dd57.tar.gz tdebase-01dcde0a04de8b8f538a823db548341a8db0dd57.zip |
Fix window control issues introduced in GIT hash 17b142dd
This relates to Bug 2220
-rw-r--r-- | twin/client.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/twin/client.cpp b/twin/client.cpp index 4d26bb816..65818899b 100644 --- a/twin/client.cpp +++ b/twin/client.cpp @@ -2200,8 +2200,11 @@ void Client::takeFocus( allowed_t ) if ( rules()->checkAcceptFocus( input )) { XSetInputFocus( tqt_xdisplay(), window(), RevertToPointerRoot, GET_QT_X_TIME() ); - // Signal that we took focus! - setActive( true, true ); + // Work around opacity bug + bool activePrev = active; + active = true; + updateOpacity(); + active = activePrev; } if ( Ptakefocus ) { |