When comparing window requesting activation (i.e. focus stealing prevention)…

Authored by Luboš Luňák <l.lunak@kde.org> on Dec 2 2003, 5:52 PM.

Description

When comparing window requesting activation (i.e. focus stealing prevention), don't use Workspace::activeClient() as the active client, but instead the most recent should_get_focus client - that may make a difference if a window was just activated, but the matching FocusIn event that'll make it to be activeClient() wasn't yet processes. Visible with apps that show several windows at the same time after startup.

svn path=/trunk/kdebase/kwin/; revision=270831

Details

Committed
Luboš Luňák <l.lunak@kde.org>Dec 2 2003, 5:52 PM
Parents
R524:4e0d60ed239a: Set a suitable icon on the kcmshell dialog.
Branches
Unknown
Tags
Unknown
Luboš Luňák <l.lunak@kde.org> committed R524:885b198108c2: When comparing window requesting activation (i.e. focus stealing prevention)… (authored by Luboš Luňák <l.lunak@kde.org>).Dec 2 2003, 5:52 PM