]> git.decadent.org.uk Git - ion3.git/blobdiff - ioncore/ioncore_wd.lua
Merge commit '20070318' into HEAD
[ion3.git] / ioncore / ioncore_wd.lua
index 84107b81568a3f2012fe388f5f849d4ada2bee98..8b1f6cedb49b1fab5da2a5541f04ed78b7071c81 100644 (file)
@@ -1,7 +1,7 @@
 --
 -- ion/share/ioncore_wd.lua
 -- 
--- Copyright (c) Tuomo Valkonen 2004-2006.
+-- Copyright (c) Tuomo Valkonen 2004-2007.
 --
 -- Ion is free software; you can redistribute it and/or modify it under
 -- the terms of the GNU Lesser General Public License as published by
@@ -123,8 +123,7 @@ function ioncore.exec_on(reg, cmd, merr_internal)
             cmd='XTERMCMD='..string.shell_safe(XTERM)..' '..cmd
         end
     end
-    return ioncore.do_exec_rw(reg:rootwin_of(), cmd, 
-                              ioncore.get_dir_for(reg), 
+    return ioncore.do_exec_on(reg, cmd, ioncore.get_dir_for(reg), 
                               merr_internal)
 end