focus stealing prevention and the log out dialog

Aaron J. Seigo aseigo at kde.org
Mon Sep 26 11:43:42 UTC 2011


hi...

there are some windows that should NEVER have focus stealing applied. one is 
the shutdown dialog.

right now a very inneficient way of making this happen is being employed:

    QApplication::syncX();
    kapp->updateRemoteUserTimestamp( "org.kde.ksmserver" );

oi vey. this is in libkworkspace's requestShutDown, and it seems to be causing 
very bad behaviour on devices such as freezing the whole system for seconds 
(or even over a minute).

what is the best way, which doesn't involve such tricks, of disabling focus 
stealing for a given window?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20110926/76986b1c/attachment.sig>


More information about the Plasma-devel mailing list