diff options
author | oga | 2008-04-15 21:20:56 +0000 |
---|---|---|
committer | oga | 2008-04-15 21:20:56 +0000 |
commit | 47b2f8d7fe9a817bb3b288ac7e047b08ab825e61 (patch) | |
tree | b7835d22846b2c11a4e3247c6c7c38ed7ae3276e /calmwm.h | |
parent | 4fe7a3740f967c868f91aa05868300e95af24727 (diff) | |
download | cwm-47b2f8d7fe9a817bb3b288ac7e047b08ab825e61.tar.gz |
make the argument parser for commands accept quoted strings, while i'm
there make u_spawn use exec_wm (renamed to u_exec) for it's execution to
remove duplicated code.
This means constructs like this work in .cwmrc:
bind CM-t "ssh -Y 192.168.1.2 \"xterm -e top\""
or alternatively:
bind CM-t "ssh -Y 192.168.1.2 'xterm -e top'"
"in it goes" okan@.
Diffstat (limited to '')
-rw-r--r-- | calmwm.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: calmwm.h,v 1.31 2008/04/15 20:26:50 oga Exp $ + * $Id: calmwm.h,v 1.32 2008/04/15 21:20:56 oga Exp $ */ #ifndef _CALMWM_H_ @@ -401,7 +401,7 @@ int xu_getstate(struct client_ctx *, int *); void xu_key_grab_keycode(Window, int, int); int u_spawn(char *); -void exec_wm(char *); +void u_exec(char *); void grab_sweep(struct client_ctx *); void grab_drag(struct client_ctx *); |