focus stealing prevention and the log out dialog
Martin Gräßlin
mgraesslin at kde.org
Mon Sep 26 12:31:27 UTC 2011
On Mon, 26 Sep 2011 13:43:42 +0200, "Aaron J. Seigo" <aseigo at kde.org>
wrote:
> 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?
shipping a window specific rule disabling focus stealing prevention.
Cheers
Martin
More information about the Plasma-devel
mailing list