How to check if window really was closed?
Aaron J. Seigo
aseigo at kde.org
Tue Mar 10 19:23:25 CET 2009
On Sunday 08 March 2009, Christian Mollekopf wrote:
> I was wondering if i should do it with a timeout, so the window gets
> activated if not closed within 200ms or so or if there is any better way to
> do it.
a timer is a bit of a hack, so should only be used in this case as a last
resort.
probably what could happen is that when it is closed via the Task object, it
could mark itself as being closed. then if a transient appears for it and it's
marked as "being closed" it would activate that window.
> (Or if this feature is not sensible at all =P)
i think so.
--
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 Software
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090310/1d7067bf/attachment.sig
More information about the Plasma-devel
mailing list