diff options
Diffstat (limited to 'twin')
-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 ) { |