summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-12-01 04:04:22 (GMT)
committer Timothy Pearson <kb9vqf@pearsoncomputing.net>2014-12-01 04:04:22 (GMT)
commit01dcde0a04de8b8f538a823db548341a8db0dd57 (patch)
tree564d7559420ea9142ebe518b60d2888349b8a243
parentc15178796e73d4820ac71772809c5e5ec5bfb8f0 (diff)
downloadtdebase-01dcde0a.zip
tdebase-01dcde0a.tar.gz
Fix window control issues introduced in GIT hash 17b142dd
This relates to Bug 2220
-rw-r--r--twin/client.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/twin/client.cpp b/twin/client.cpp
index 4d26bb8..6581889 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 )
{