[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Unkillable process and force logout
From:       Thiago Macieira <thiago () kde ! org>
Date:       2005-04-04 10:53:27
Message-ID: 200504040753.28457.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Andras Mantia wrote:
>By testingmore it seems that the logout is cancelled not because it's
>running as root, but because it returns false in queryClose. But I need
> to return false, otherwise the user can simply close the application.
> So how can I write an application that cannot be closed by the user,
> but it doesn't disturb the logout process??

Take it out of the X task list: make it a daemon that just sends the DCOP 
command at a predetermined time.

-- 
  Thiago Macieira  -  thiago (AT) macieira (DOT) info
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

4. And æfter se scieppend ingelogode, he wrát "cenn", ac eala! se 
rihtendgesamnung andswarode "cenn: ne wát hú cennan 'eall'. Ástynt."

[Attachment #5 (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic