From 1a8458cd5a3252f9d2141de13ef67a30b215476c Mon Sep 17 00:00:00 2001 From: sabetts Date: Sat, 9 Dec 2000 11:34:43 +0000 Subject: * 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. --- src/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/list.h') diff --git a/src/list.h b/src/list.h index 15b1d98..9004ed7 100644 --- a/src/list.h +++ b/src/list.h @@ -31,7 +31,7 @@ void maximize_current_window (); void set_active_window (rp_window *rp_w); void set_current_window (rp_window *win); void goto_window_number (int n); -void goto_window_name (char *name); +int goto_window_name (char *name); rp_window *find_last_accessed_window (); rp_window *find_window_by_number (int n); #endif /* _LIST_H */ -- cgit v1.2.3