On Fri, Feb 18, 2005 at 01:50:37AM +0000, Rui Tiago Matos wrote: > On Fri, 18 Feb 2005 00:19:29 +0100, Matthieu Moy <[EMAIL PROTECTED]> wrote: > > > > The script itself can be found here: > > > > http://modeemi.fi/~tuomov/repos/ion-scripts-3/scripts/detach.lua > > > > Hi, I'm not sure how I should use this. Don't really have experience > with ion scripts. I've put it in ~/.ion3 and added > > dopath("detach.lua") > > to my cfg_ion.lua > > Now using the lua query i issued > "detach.manage_transcient_with_float()" and then all windows are > popping in layer 2. > > What am I missing? > > Thanks for the script anyway, it seems to be really useful (once I get > it right :)
I had the same problem here. Here's the relevant diff snippet for my
quick (and possibly dirty) fix:
--- detach.lua.old 2005-02-17 15:18:59.000000000 +1030
+++ detach.lua 2005-02-18 18:53:59.208900545 +1030
@@ -81,7 +81,7 @@
fws = scr:attach_new{
type = "WFloatWS",
layer = 2,
- passive = false,
+ passive = true,
switchto = true,
}
end
It is of course entirely possible that this causes other undesirable
behaviour, but for now this Works For Me.
Regards,
--
Phil.
pgpX9TTLnBWuL.pgp
Description: PGP signature
