Fix window control issues introduced in GIT hash 17b142dd

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

@ -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 )
{

Loading…
Cancel
Save