summaryrefslogtreecommitdiff
path: root/src/conf.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-10-17 09:30:43 +0000
committersabetts <sabetts>2000-10-17 09:30:43 +0000
commit53e1ff2c79b3b9f3bcece9281531ab6afdb844e6 (patch)
treed6f78af9bb46e9ad40242e3a943bb21886e93264 /src/conf.h
parent17b9be354e5b1f2b5db4d3e044435698a17b2be6 (diff)
downloadratpoison-53e1ff2c79b3b9f3bcece9281531ab6afdb844e6.zip
fixed bug that lost focus of any window when the current window was unmapped.
moved key strokes into a structure in actions.c along with all key stroke functi ons. added ability to ignore badwindow errors. fixed up unmap_notify function. w hen waiting for a keystroke after the prefix has been hit, pressing a modifier d oesn't count as a 'keystroke' and doesn't abort the current key combination bein g keyed
Diffstat (limited to 'src/conf.h')
-rw-r--r--src/conf.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/conf.h b/src/conf.h
index 8efee2e..395945c 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -17,22 +17,12 @@
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA */
+#include "data.h"
+#include "actions.h"
+
#define KEY_PREFIX 't'
#define MODIFIER_PREFIX ControlMask
-#define KEY_XTERM 'c'
-#define KEY_EMACS 'e'
-#define KEY_PREVWINDOW 'p'
-#define KEY_NEXTWINDOW 'n'
-#define KEY_LASTWINDOW 't' /* key to toggle between the current window and the last visitted one */
-#define KEY_TOGGLEBAR 'w' /* key to toggle the display of the program bar */
-#define KEY_DELETE 'k' /* delete a window SHIFT+key will Destroy the window */
-#define KEY_WINBYNAME '\'' /* key to jump to a window by name */
-#define KEY_RENAME 'a' /* key to rename a window. */
-
-#define TERM_PROG "xterm" /* command to boot an x term */
-#define EMACS_PROG "emacs" /* command to boot emacs */
-
#define BAR_FG_COLOR "Gray60"
#define BAR_BG_COLOR "Lightgreen"
#define BAR_BOLD_COLOR "Black" /* To indicate the current window */