summaryrefslogtreecommitdiff
path: root/src/events.c
AgeCommit message (Collapse)Author
2001-02-17renamed display_msg_in_bar() to message(); it and get_input() no longer take ↵rcyeske
a screen_info param
2001-02-15(handle_key): use dynamic stringsalgernon
2001-02-14cannot over modify keystrokesrcyeske
2001-02-11* manage.h (set_state): Added prototypesabetts
* manage.c (send_configure): Now sends the window's x,y,width,height coordinates. (set_state): Added * events.c (map_request): Calls set_state when mapping an unmapped window. * actions.c (maximize_transient): takes an rp_window as the argument. Removed code to handle void *data. Incremental resizing only happens if the maximum size isn't set. Removed actual X maximization code. (maximize): Moved meat to maximize_normal().
2001-02-10* communications.c (send_restart, send_kill): Addedsabetts
* ratpoison.h: includes communications.h * main.c (send_restart, send_kill): Moved to communications.c * list.c (get_mouse_root_position): Added (add_to_window_list): Initialize new rp_window fields (save_mouse_position): Added (set_active_window): Added code to save and restore the position of the mouse * events.c (property_notify): Added code to listen for a WM_TRANSIENT_FOR property change. * data.h (struct rp_window): Added transient, transient_for, mouse_x, mouse_y. * actions.c (maximize_transient): Added (maximize): Added code to handle transient windows differently * Makefile.am (ratpoison_SOURCES): Added communications.h and communications.c
2000-12-15* events.c: propagated changes to set_active_window usagesabetts
* events.c (property_notify): Added handler for XA_WM_NORMAL_HINTS.
2000-12-15(property_notify): Added handler for XA_WM_NORMAL_HINTS.sabetts
2000-12-09* data.h (struct rp_window): added x, y, width, height, border;sabetts
* events.c (configure_request): Now honours request, but then maximizes it afterwards. (configure_request): updates the rp_window's geometry fields * manage.c (manage): commented out XMoveResizeWindow call (send_configure): added * actions.h (maximize): added prototype * actions.c (maximize): added
2000-12-09* input.c (cook_keycode): properly handle LockMasksabetts
* 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-04* input.h (cook_keycode): added prototypesabetts
* 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-11-28fixed window focus problems in handle_keysabetts
2000-11-27fixed some problems with modifiers for key eventssabetts
2000-10-30added ifdef's to toggle the hide mouse featuresabetts
2000-10-21for windows that don't grab the mouse, ratpoison restores the rat tosabetts
its position before it was hidden by a keystroke when it receives a PointerMotion event.
2000-10-20fixed MODIFIER_PREFIX bugsabetts
2000-10-20added initial support for hiding the rat on key eventssabetts
2000-10-20added unmanaged windows and window paddingrcyeske
2000-10-20fixed badwindow errors when deleting windows by ignoring badwindow errors in ↵sabetts
destroy_window
2000-10-17emacs now maximizes properly rxvt seems to too, but more testing will be needed.sabetts
2000-10-17fixed bug that lost focus of any window when the current window was unmapped.sabetts
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
2000-10-15added --kill and --restart to kill and restart a running ratpoison processsabetts
2000-09-15Added a standard error reporting function PRINT_ERROR and a standardsabetts
debug output function PRINT_DEBUG.
2000-09-07restructured tree, added automake and autoconf to the build process.sabetts