On Sun, 11 Nov 2007 10:03:02 +1100 Erik de Castro Lopo <mle
[EMAIL PROTECTED]> babbled:

> Hi all,
> 
> I had firefox hang and ran xkill to kill it. However, just before I
> killed firefox, the firefox window disappears and I clicked on the 
> desktop background and E17 itself died.
> 
> I then logged back in and confirmed it. I'm pretty sure no other 
> window manager dies like this from xkill.
> 
> It would be nice if this could be fixed :-).

it's actually impossible to fix. xkill literally does an XKillClient() on the
window id it sees that you click on. an x client has no choice in this matter.
once instructed - by ANY client with XKillClient() to kill the client that owns
that x resource ID (be it pixmap, window or whatever), then x itself terminates
the connection. as the desktop is a window (e could never do anything like
different depth windows for the desktop wallpaper, gl or similar engine desktop
bg's etc. without doing this).

why you don't see this is that other wm's don't go create a window on the
desktop below others. basically using xkill is bad. don't use it. e can do this
for you. in fact it will quietly do it for you to clients that have hung. if
you just click close, e will send a ping off to the client (if it supports
pinging) and if that ping isn't answered in the ping timeout (10 seconds) e
will actually do the XKillClient() for you assuming the app is so far gone,
dead and buried. It even goes an extra mile. If it happens to know the PID of
the app owning that window, it will also kill the PID for you, (a SIGINT - not
SIGKILL, not that nasty - yet). So e is picking up the pieces for you already.
You can stuff xkill back into its little box now :)

> Cheers,
> Erik
> -- 
> -----------------------------------------------------------------
> Erik de Castro Lopo
> -----------------------------------------------------------------
> The idea that Bill Gates has appeared like a knight in shining armour to
> lead all customers out of a mire of technological chaos neatly ignores
> the fact that it was he who, by peddling second-rate technology, led them
> into it in the first place. - Douglas Adams in Guardian, 25-Aug-95
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to