summaryrefslogtreecommitdiff
path: root/src/conf.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2000-12-09 11:34:43 +0000
committersabetts <sabetts>2000-12-09 11:34:43 +0000
commit1a8458cd5a3252f9d2141de13ef67a30b215476c (patch)
tree4d4b0b7c70c141f83c66c2adff651cb5b8c9d49e /src/conf.h
parent7ee9190d0849e8df707611b63b42e976bbd8d827 (diff)
downloadratpoison-1a8458cd5a3252f9d2141de13ef67a30b215476c.zip
* input.c (cook_keycode): properly handle LockMask
* input.h: added prototype for keysym_to_string * input.c (keysym_to_string): added * bar.c (show_bar): update_window_names(s) is called whether the bar is raised or not. * conf.h: Added BAR_Y_PADDING BAR_X_PADDING * list.c (goto_window_name): return success or failure * list.h: updated prototype for goto_window_name * events.c (handle_key): Added a message indicating an unbound key. * bar.c (display_msg_in_bar): added (update_window_names): uses BAR_X_PADDING instead of `5' (update_window_names): Updated BAR_PADDING to BAR_Y_PADDING * input.c (cook_keycode): mod is now an usigned int (read_key): Ignores modifier keys. Now returns keysym and modifiers. (get_input): Updated BAR_PADDING to BAR_Y_PADDING and BAR_X_PADDING. * events.c (handle_key): uses read_key instead of XMaskEvent to read a key. * actions.c (goto_window_number): window list is displayed on failure. (bye): added (switch_to): added (execute_command): no longer seg faults when no windows exist.
Diffstat (limited to 'src/conf.h')
-rw-r--r--src/conf.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/conf.h b/src/conf.h
index 3092bc6..9b705dd 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -27,10 +27,13 @@
#define BAR_FG_COLOR "Gray60"
#define BAR_BG_COLOR "Lightgreen"
-#define BAR_BOLD_COLOR "Black" /* To indicate the current window */
+#define BAR_BOLD_COLOR "Black" /* To indicate the current window */
#define FONT_NAME "fixed" /* The font you wish to use */
-#define BAR_PADDING 3 /* The amount of padding on the top and bottom of the program bar */
+#define BAR_Y_PADDING 3 /* The amount of padding on the top
+ and bottom of the message bar */
+#define BAR_X_PADDING 5 /* The amount of padding on the left
+ and right of the message bar */
#define BAR_LOCATION 3 /* 0=bottom-left 1=top-left 2=bottom-right 3=top-right */
#define BAR_TIMEOUT 5 /* Number of seconds before the progam bar autohides 0=don't autohide */