summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMichael Cardell Widerkrantz <mc@hack.org>2011-11-23 13:02:45 +0100
committerMichael Cardell Widerkrantz <mc@hack.org>2011-11-23 13:02:45 +0100
commit6860491c78b9474eb9b2ed0b55899f289d3c6a44 (patch)
treee799146ca371abb9aecb324c2e978a7beed8bd65 /config.h
parentd7c29ade87692d35d60d1c4b8338ca5fe63d5723 (diff)
downloadmcwm-6860491c78b9474eb9b2ed0b55899f289d3c6a44.zip
Simplified and renamed start_terminal() to start() which can start any
program. Skip the double fork() and explicitly ignore SIGCHLD to fend off zombies. Added support for mouse buttons on root window to optionally start a program with start(). By default mouse button three starts mcmenu which must be in PATH.
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.h b/config.h
index 35176a7..0291b11 100644
--- a/config.h
+++ b/config.h
@@ -33,6 +33,13 @@
#define TERMINAL "urxvt"
/*
+ * Start these programs when pressing MODKEY and mouse buttons on root window.
+ */
+#define MOUSE1 ""
+#define MOUSE2 ""
+#define MOUSE3 "mcmenu"
+
+/*
* Default colour on border for focused windows. Can be set from
* command line with "-f colour".
*/