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