diff options
author | oga <oga> | 2008-04-15 21:20:56 +0000 |
---|---|---|
committer | oga <oga> | 2008-04-15 21:20:56 +0000 |
commit | d5794a6b0278433d4a5d288543f74770399e3a91 (patch) | |
tree | d0b7590d71fd49176cdde9622c30685bfcf69630 /calmwm.h | |
parent | 887a5aa65f255ac0ae4fdc2e7a3ad1c94a435da8 (diff) | |
download | cwm-d5794a6b0278433d4a5d288543f74770399e3a91.tar.gz cwm-d5794a6b0278433d4a5d288543f74770399e3a91.tar.xz cwm-d5794a6b0278433d4a5d288543f74770399e3a91.zip |
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 'calmwm.h')
-rw-r--r-- | calmwm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h index f51deb2..d9c0e77 100644 --- a/calmwm.h +++ b/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 *); |