Fix window control issues introduced in GIT hash 17b142dd

This relates to Bug 2220
pull/2/head
Timothy Pearson 11 years ago
parent c15178796e
commit 01dcde0a04

@ -2200,8 +2200,11 @@ void Client::takeFocus( allowed_t )
if ( rules()->checkAcceptFocus( input )) if ( rules()->checkAcceptFocus( input ))
{ {
XSetInputFocus( tqt_xdisplay(), window(), RevertToPointerRoot, GET_QT_X_TIME() ); XSetInputFocus( tqt_xdisplay(), window(), RevertToPointerRoot, GET_QT_X_TIME() );
// Signal that we took focus! // Work around opacity bug
setActive( true, true ); bool activePrev = active;
active = true;
updateOpacity();
active = activePrev;
} }
if ( Ptakefocus ) if ( Ptakefocus )
{ {

Loading…
Cancel
Save