summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-02-16accidentally cut somethingsabetts
2002-02-16* src/manage.c (maximize): remove calls to XSelectInput.sabetts
(force_maximize): likewise (unhide_window): likewise (unhide_window_below): likewise * src/events.c (configure_notify): remove function. (configure_request): grant the request, then immediately maximize the window. (delegate_event): ignore ConfigureNotify events. (configure_request): grant the request if ratpoison isn't managing the window.
2002-02-14(cmd_license): redraw the bar if it was visible.sabetts
(cmd_help): likewise
2002-02-14* src/events.c (configure_request): Ignore the configure notifysabetts
event caused by the geometry change if the window is not mapped.
2002-02-14* src/manage.c (maximize_transient): correctly detect when thesabetts
window is bigger than its frame. (maximize): ignore the structure events generated by the maximize (force_maximize): likewise (unhide_window): likewise (unhide_window_below): likewise * src/events.c (configure_notify): Clear up ambiguous debugging output. (configure_request): initialize the changes structure to the window's current attributes.
2002-02-08* src/split.h (find_last_frame): prototype now correctly reflectssabetts
the actual function. * src/events.c (configure_notify): ignore substructurenotify events. Add more debugging statements. * src/actions.c (cmd_focuslast): pass the current screen to the call to find_last_frame.
2002-02-03(cmd_defbarpadding): print an error message ifsabetts
defbarpadding is called interactively without arguments.
2002-02-03(handle_signals): only hide the bar if it timessabetts
out.
2002-02-03(marked_message): Fix text marking bug.sabetts
2002-02-01* src/actions.c (command): bail out if alias recursion gets too deep.sabetts
* src/conf.h (MAX_ALIAS_RECURSIVE_DEPTH): new define * src/bar.c (bar_x): update to work with all X11 gravity values. (bar_y): likewise * src/actions.c (cmd_defbargravity): Rename from cmd_defbarloc. Dependant code updated. (cmd_defbargravity): accept all gravity arguments.
2002-01-27* configure.in: check for the vsnprintf function and stdarg.hsabetts
header. * src/main.c (xvsprintf): Cleaned up to call vsnprintf only in one place. wrap the vsnprintf call with va_copy (or __va_copy) and va_end.
2002-01-26* src/list.c (format_window_name): If res_class or res_name aresabetts
NULL use "None" instead.
2002-01-26(alias_t): rename data structure from cmd_alias tosabetts
avoid a name clash with the function cmd_alias. Dependant code updated.
2002-01-26(set_active_window): Corrected a bug in determiningsabetts
what a maxsize window is. Only one of width or height must be less than the screen width or height for a window to qualify as a maxsize window.
2002-01-24* src/actions.c (cmd_defbgcolor): don't set the background color for key_window.sabetts
(cmd_deffgcolor): don't set the foreground color for key_window.
2002-01-24* src/actions.c (cmd_defbarloc): Read the location argument as asabetts
gravity argument using parse_wingravity.
2002-01-24* src/messages.h (MESSAGE_FRAME_STRING): Pad the string withsabetts
spaces on both sides. * src/main.c (init_screen): Create the frame, input, and bar windows with a border width of defaults.bar_border_width. (init_defaults): initialize defaults.bar_border_width * src/bar.c (bar_x): Incorporate defaults.bar_border_width into calculations. (bar_y): likewise * src/actions.h (cmd_defbarborder): new prototype * src/actions.c (user_commands): new command "defbarborder" (cmd_defbarborder): new function * src/main.c (init_screen): create the help window with a 0 border width.
2002-01-24(init_screen): create the help window with a 0 bordersabetts
width.
2002-01-24* src/actions.c (command): Append to the end of alias command thesabetts
arguments passed in before evaluating the alias.
2002-01-24* src/actions.c (find_alias_index): new functionsabetts
(cmd_alias): When an alias is already in the alias list, replace it with the new alias. * src/events.c (configure_request): do not send a synthetic configure notify event.
2002-01-24(wingravity_to_string): Fix the north gravitysabetts
string to return "n" not "ng".
2002-01-24(wingravity_to_string): Fix the north gravitysabetts
string to return "n" not "ng".
2002-01-24* src/manage.c (send_configure): Change parameters to X11 window,sabetts
x, y, width, height and border. Prototype updated. All callers updated. * src/events.c (configure_request): For the changes variable, fill in geometry parameters not part of the request with the window's geometry. * src/manage.c (update_normal_hints): improve debugging output.
2002-01-24* src/events.c (configure_notify): remove functionsabetts
(delegate_event): add ConfigureNotify to the ignored events list. * src/manage.c (update_normal_hints): improve debugging output.
2002-01-15fixed crash on solarissabetts
2002-01-11(handler): store the error text at the beginning ofsabetts
the string instead of 7 bytes in.
2002-01-10* src/events.c (delegate_event): ignore the CirculateRequest event.sabetts
* src/actions.c (cmd_rename): Allows the user to specify a second argument which is the number of the window whose number will be set to the first argument.
2002-01-08(setenv, unsetenv): new functions, used when the system libc does not have them.algernon
2002-01-02* src/main.c (init_screen): do not select on any events for thesabetts
bar_window and the frame_window. * src/events.h (listen_for_events): new prototype * src/events.c (configure_notify): If the event dimensions don't match the windows, then re-maximize the window. (configure_request): always grant the requests. (delegate_event): Changes to the debugging output. (delegate_event): Don't print debugging messages for events that ratpoison doesn't need to handle. (handle_signals): new function (listen_for_events): new function (handle_events): remove function. Dependant code uses listen_for_events. (get_event): likewise * src/main.c (clean_up): don't map iconized windows.
2002-01-02* src/manage.h (get_state): new prototypesabetts
* src/manage.c (update_normal_hints): print only the hints that are set as debugging output. (scanwins): collect mapped and iconized windows. (get_state): new function * src/main.c (clean_up): don't map iconized windows.
2001-12-21* src/actions.h (cmd_alias): new prototypesabetts
* src/actions.c (user_commands): remove "license" from the unimplemented section. (user_commands): new command "alias" (cmd_alias): new function (command): handle aliases (initialize_default_keybindings): initialize the alias list (struct cmd_alias): new struct (alias_list): new static global (alias_list_size): likewise (alias_list_last): likewise
2001-12-21* src/actions.c (user_commands): remove "license" from thesabetts
unimplemented section.
2001-12-21* src/actions.h (cmd_license): new prototypesabetts
* src/actions.c (cmd_license): new function (user_commands): new command "license" (initialize_default_keybindings): bind "license" to V and C-V
2001-12-21(format_window_name): print unrecognized formattingsabetts
options.
2001-12-21* src/manage.c (unmanage): set the kill_signalled variable.sabetts
* src/actions.c (wingravity_to_string): new function (cmd_gravity): return the current value when data is NULL (cmd_defwingravity): likewise (cmd_deftransgravity): likewise (cmd_defmaxsizegravity): likewise (cmd_msgwait): likewise (cmd_defbarloc): likewise (cmd_defpadding): likewise (cmd_defborder): likewise (cmd_definputwidth): likewise (cmd_defwaitcursor): likewise (cmd_defwinfmt): likewise (cmd_defwinname): likewise (cmd_defbarpadding): likewise (cmd_startup_message): likewise (cmd_rudeness): likewise
2001-12-21* src/sbuf.h (sbuf_printf_concat): new prototypesabetts
(sbuf_printf): likewise * src/sbuf.c (sbuf_printf_concat): new function (sbuf_printf): likewise * src/ratpoison.h: include stdarg.h (xvsprintf): new prototype (xsprintf): likewise * src/main.c (xvsprintf): new function (xsprintf): likewise * src/bar.c: remove include of stdarg.h (marked_message_printf): call xvsprintf.
2001-12-21* src/input.c (input_history): new static globalsabetts
(input_num_history_entries): likewise (get_more_input): cycle through the input history. * src/conf.h (INPUT_PREV_HISTORY_KEY): new define (INPUT_PREV_HISTORY_MODIFIER): likewise (INPUT_NEXT_HISTORY_KEY): likewise (INPUT_NEXT_HISTORY_MODIFIER): likewise (INPUT_MAX_HISTORY): likewise * src/input.c (update_input_window): Draw the cursor in the right place.
2001-12-21added a note about the contributorsabetts
2001-12-21* src/input.c (update_input_window): Draw the cursor in the right place.sabetts
* src/actions.h (cmd_defbarpadding): new prototype * src/actions.c (user_commands): new command entry "defbarpadding" (cmd_defbarpadding): new function
2001-12-21* src/data.h (rp_error_msg): new global externsabetts
* src/main.c (rp_error_msg): new global variable * src/events.c (get_event): If there is an X11 error message to print, print it. * src/main.c (handler): record the error in rp_error_msg
2001-12-20* src/manage.c (maximize_transient): always honour the currentsabetts
size of the window. * src/actions.c (cmd_info): print "Transient" if the window is a transient window.
2001-12-18(maximize_transient): Fit the transient windowsabetts
inside its frame.
2001-12-12(parse_keydesc): Don't mangle the key descriptionsabetts
argument.
2001-12-09* src/events.c (handle_key): revert the focus immediately aftersabetts
reading the key. * src/list.c (give_window_focus): update rp_current_frame when setting the window focus. * src/main.c (main): scan for windows in a seperate pass after initializing the screen structures. (init_screen): build a display string for each screen. (init_screen): remove the call to scanwins. * src/manage.c (current_screen): return the current screen using rp_current_screen. * src/split.h (init_frame_lists): new function * src/split.c (rp_window_frame_sentinel): remove. (rp_current_frame): remove. (frames_screen): new function (maximize_frame): use the frame's screen to find out the width and height of the display. (create_initial_frame): take a pointer to a screen_info as an argument. (init_frame_lists): new function (init_frame_list): take a pointer to a screen_info as an argument. (find_last_frame): take a pointer to a screen_info as an argument. * src/actions.c (spawn): Set the DISPLAY environment variable to point to the current screen. * src/data.h (struct screen_info): add display_string, rp_window_frame_sentinel, rp_current_frame. (rp_current_screen): new global (rp_current_frame): Remove. Dependant code uses screen_info.rp_current_frame.
2001-12-05(cmd_getenv): New function.rcyeske
2001-10-18* src/split.c (show_frame_indicator): call XSync after clearing the window.sabetts
* src/input.c (get_more_input): clear the window after it is raised. Call XSync aftwards. * src/conf.h (MAX_LINK_DEPTH): new define * src/bar.c (marked_message): clear the window after it is raised. Call XSync aftwards. * src/actions.h (cmd_link): new prototype * src/actions.c (user_command): new command 'link' (find_command_by_keydesc): new function (resolve_command_from_keydesc): likewise (cmd_link): likewise
2001-10-18* src/split.h (find_last_frame): new prototypesabetts
* src/split.c (update_last_access): new function (find_last_frame): likewise (split_frame): update the new frame's last_access field (set_active_frame): update the new current frame's last_access field * src/input.h (x11_mask_to_rp_mask): new prototype (rp_mask_to_x11_mask): likewise * src/input.c (x11_mask_to_rp_mask): new function (rp_mask_to_x11_mask): likewise * src/events.c (handle_key): convert X11 modifier masks to rp modifier masks where appropriate. * src/actions.h (cmd_focuslast): new prototype * src/actions.c (initialize_default_keybindings): new keybinding for "focuslast" (cmd_focuslast): new function (user_command): new command "focuslast"
2001-10-18(struct rp_window_frame): new field 'last_access'sabetts
(RP_CONTROL_MASK): new define. All code depending on the X11 modifier mask equivalent has been changed to use this where appropriate. (RP_META_MASK): likewise (RP_ALT_MASK): likewise (RP_SUPER_MASK): likewise (RP_HYPER_MASK): likewise
2001-10-12(show_last_message): abort if there was no lastsabetts
message.
2001-10-11fixed a raise request rudeness maladysabetts