summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-03-19 08:35:36 +0000
committersabetts <sabetts>2001-03-19 08:35:36 +0000
commit23494269d7fb6bec696f305caa79a683ceb4bcbd (patch)
treedda073b707af449b62cf8329c587cac95e419e35 /src/data.h
parent7604e8eabbcc2e6142f7b3d75d38880044dd63f7 (diff)
downloadratpoison-23494269d7fb6bec696f305caa79a683ceb4bcbd.zip
* src/main.c (ratpoison_longopts): add --command to recognized
command-line options. * src/communications.h (send_command): new function prototype * src/data.h (rp_command): new global variable * src/events.c (receive_command): new function (property_notify): handles rp_command Atoms * src/communications.c (send_command): new function * src/main.c (print_help): prints help for --command (main): handles --command command-line option
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/data.h b/src/data.h
index 142b015..34a006c 100644
--- a/src/data.h
+++ b/src/data.h
@@ -123,6 +123,7 @@ extern XEvent *rp_current_event;
extern Display *dpy;
extern Atom rp_restart;
extern Atom rp_kill;
+extern Atom rp_command;
extern Atom wm_state;
extern Atom wm_change_state;