[KDE/Mac] let notifications return focus to previously active window?
Thomas Lübking
thomas.luebking at gmail.com
Thu Oct 30 19:31:37 UTC 2014
On Donnerstag, 30. Oktober 2014 18:13:33 CEST, René J.V. wrote:
> Did anyone else notice
Not me ;-)
> that KDE text notifications (e.g. "email
> sent successfully") tend to steal focus on OS X?
Most important question: do they come w/ a cusomt window/dialog or does it hook into sth. like growl?
> I wonder what would be the best way around that. I could store
> the active window (QApplication::activeWindow())
That's only the active window if qApp currently actually has the active window - it's not like a KWindowSystem call (which you'd rather use in this case)
Best way would however likely to have KNotify not steal the focus on OSX itfp.
Eg. make it a tooltip? (Unfortunately, I've no idea on OSX window management facilities)
Cheers,
Thomas
More information about the kde-mac
mailing list