Diffusion KWin 09ba49e40135

Only focusToNull when activating a ShellClient

Authored by graesslin on Aug 10 2016, 12:19 PM.

Description

Only focusToNull when activating a ShellClient

ShellClient::doSetActive calls into focusToNull to deactivate active
windows on X11. But this should only be done when activating a
ShellClient. When deactivating a ShellClient the focusToNull can
result in an activated X-client to lose activation.

Thus this change ensures that focusToNull is only performed for a
now active ShellClient.

Reviewed-By: bshah

Details

Committed
graesslinAug 10 2016, 12:19 PM
Parents
R108:dad7004dbb98: Add an OpenGL information tab to Debug Console
Branches
Unknown
Tags
Unknown