Chad Kittel wrote:
Carsten Haitzler <[EMAIL PROTECTED]> (The Rasterman) [Sun, 11 Sep
2005 23:43:00 +0900]:

On Sun, 11 Sep 2005 16:09:51 +0300 Nir Tzachar <[EMAIL PROTECTED]>
babbled:


hi.

xkill does not recognizes enlightenment's root window as such.
Hence, it is easy to use xkill to kill enlightenment, just by
clicking on the background. is this a known issue??

since xkill calls XKillClient... there is nothing to be done. that
literally kills off the client owning the window that xkill decides
to use. the client is disconnected from x foricbly. think of it as
"kill -9 process_id" - same thing. yes. e actually exist when you
kill -9 it. :) same with xkill. ie - dont USE xkill unless u are very
careful.


Does anyone know if there is a way to _generically_ know that a window
is a fake root window?

I'm thinking if there is a way that xkill could generically detect this
situation it would be a useful addition to that application upsteam
when it comes to any WM that provides a fake root. For example, when
xkill detects a fake root window it could prompt the user with a "The
window you requested to kill appears to be a root window, are you sure
you wish to continue?" before sending the death signal.

Well, an EWMH compliant WM using virtual roots (like e16) must set a property on the root window, listing the virtual root windows, so in this case it could be quite easily checked.

The e17 background, as raster just explained, is not a virtual root but simply a window stacked below the application windows. From external apps, like xkill, there is no clean way to distinguish it from any other application window.

/Kim


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to