2000-12-09 shawn * input.c (cook_keycode): properly handle LockMask (cook_keycode): updated comments * 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. 2000-12-03 shawn * input.h (cook_keycode): added prototype * actions.c: key_actions now uses the #define'd keysyms from X11/keysym.h * events.c (handle_key): calls cook_keycode() before processing the keysym. * input.c (read_key): calls cook_keycode() before returning the keysym (cook_keycode): added. 2000-12-01 shawn * list.c (find_window_by_name): added check to make sure the window's state is not STATE_UNMAPPED. 2000-11-27 shawn * events.c (handle_key): Code to generate the prefix event has been moved to generate_prefix(). * actions.h (toggle_bar): added prefixes for generate_prefix, and abort_keypress. * actions.c (generate_prefix): added. (abort_keypress): added. 2000-11-04 Ryan Yeske * Makefile.am (ratpoison_SOURCES): added getopt.c, getopt1.c and getopt.h 2000-10-30 Ryan Yeske * actions.h (execute_command): added prototype * actions.c (rename_current_window): added test to skip renaming if user entered an empty string (execute_command): added command (key_actions): execute_command is called by pressing ':' 2000-10-30 shawn * conf.h: added HIDE_MOUSE 2000-10-24 Ryan Yeske * bar.c (bar_x): rightmost border is no longer off screen 2000-10-20 shawn * events.c (key_press): fixed MODIFIER_PREFIX bug 2000-10-19 Ryan yeske * manage.c (unmanaged_window): added. * conf.h (PADDING_LEFT, PADDING_TOP, PADDING_RIGHT, PADDING_BOTTOM, UNMANAGED_WINDOW_LIST): added. Windows listed in UNMANAGED_WINDOW_LIST will not be managed. Space reserved for unmanaged windows can be defined with PADDING_* 2000-10-19 shawn * manage.c (get_window_name): added 2000-10-17 shawn * events.c (configure_request): resize windows to the max-1. Call XConfigureWindow as well as XSendEvent. * manage.c (scanwins): Now only maps visible windows * conf.h: Removed keystroke related defines * actions.c: Moved all key activated functions here. Added key_actions array. * events.c (unmap_notify): now properly unmaps windows * data.h: added ignore_badwindow * main.c (handler): added ability to ignore BadWindow errors 2000-10-15 shawn * main.c, data.h, events.c: Added ability to kill and hup running ratpoison processes.