summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-05-22*** empty log message ***sabetts
2006-05-18*** empty log message ***sabetts
2006-05-15*** empty log message ***sabetts
2006-05-15* src/manage.c (grab_top_level_keys): use defaults.top_kmap for the top kmapsabetts
* src/main.c (init_defaults): init defaults.top_kmap * src/events.c (handle_key): use defaults.top_kmap for the top kmap * src/data.h (struct rp_defaults): new field, top_kmap * src/actions.c (set_topkmap): new prototype (init_set_vars): topkmap new set variable (initialize_default_keybindings): use defaults.top_kmap for the top kmap (cmd_undefinekey): likewise (cmd_definekey): likewise (cmd_escape): likewise (cmd_delkmap): likewise (set_topkmap): new function
2006-05-14(update_modifier_map): use XGetKeyboardMapping.sabetts
2006-05-09(ws_init): loop from 1 not 0sabetts
2006-04-29* src/bar.c (marked_message): print NULL if msg is null in debug outputsabetts
* src/actions.c (cmd_getenv): return an empty string for nonexistant env vars. (command): print NULL if rest is null in debug output
2006-04-29(cmd_getenv): return an empty string forsabetts
nonexistant env vars.
2006-04-21(print_version): print build datesabetts
2006-04-21* src/actions.h: new command sfrestoresabetts
* src/actions.c (init_user_commands): new command sfrestore (cmd_sfrestore): new function
2006-04-20(property_notify): Only map the first window in the launch frame.sabetts
2006-04-20* src/split.c (show_frame_message): use XmbDrawString and XmbTextEscapementsabetts
* src/screen.c (init_screen): don't include the font in the gc * src/ratpoison.h: include Xlocale.h * src/manage.c (get_wmname): support i18n characters * src/main.c (init_defaults): call load_query_font_set and set_extents_of_fontset (main): call setlocale (clean_up): call XFreeFontSet (set_extents_of_fontset): new function (load_query_font_set): likewise * src/input.c (update_input_window): use XmbTextEscapement and XmbDrawString * src/globals.h (FONT_HEIGHT): use rp_font_ascent and rp_font_descent (MAX_FONT_WIDTH): use rp_font_width new globals rp_font_ascent, rp_font_descent, rp_font_width * src/globals.c: new globals rp_font_ascent, rp_font_descent, rp_font_width * src/data.h (struct rp_defaults): font is a XFontSet * src/bar.c (max_line_length): call XmbTextEscapement (draw_string): call XmbDrawString (get_mark_box): call XmbTextEscapement * src/actions.c (read_frame): call XmbTextEscapement (cmd_license): likewise (read_frame): call XmbDrawString (cmd_license): likewise (cmd_help): likewise (update_gc): don't include the font (set_font): call load_query_font_set
2006-04-18(hook_run): echo the result of each command. free thesabetts
result.
2006-04-04* src/messages.h (MESSAGE_MAP_TRANSIENT_GROUP): new definesabetts
(MESSAGE_MAP_WINDOW_GROUP): likewise * src/manage.c (map_window): call show_rudeness_msg * src/events.h (show_rudeness_msg): new prototype * src/events.c (show_rudeness_msg): renamed from show_rudeness_raise_msg. handle the MAP messages as well. all callers updated.
2006-04-02*** empty log message ***sabetts
2006-04-02generalized, made pointer to websitercyeske
2006-04-02(handle_key): call XAllowEventssabetts
2006-04-02*** empty log message ***sabetts
2006-04-01(grab_key): grab the keyboard synchronouslysabetts
2006-03-17(Groups): Fix description of gnew command.rcyeske
2006-03-16*** empty log message ***sabetts
2006-03-162006-03-15 Bernhard R. Link <brlink@debian.org>sabetts
* src/screen.c (screen_update): new function (init_screen): listen for screen resizes * src/screen.h: new prototype * src/events.c (configure_notify): new function (delegate_event): call configure_notify for ConfigureNotify events * src/frame.c (frame_dump): remember the size of the screen the frame coordinates are relative to. (frame_restore): adopt coordinates to possible screen resizes. * src/frame.h (frame_fump): take a screen argument (frame_read): likewise * src/actions.c (cmd_tmpwm): listen for screen resizes again (fdump, frestore, cmd_fdump): supply screen to frame_dump, frameread
2006-03-16* src/main.c (clean_up): use list_size not rp_num_frame_undossabetts
* src/globals.c: remove global var rp_num_frame_undos. All callers updated. * src/actions.c (push_frame_undo): use list_size, not rp_num_frame_undos (set_maxundos): likewise
2006-03-16* src/window.c (_XOPEN_SOURCE): new definesabetts
* src/screen.c (is_a_root_window): w is unsigned int (init_screen): typecast _net_wm_pid as unsigned char*. * src/main.c (read_rc_file): linesize is size_t * src/frame.c (frame_read): use a temp var when reading the :dedicated value. * src/bar.c (max_line_length): i and start are size_t (draw_string): i is size_t (get_mark_box): mark_start and mark_end are size_t * src/actions.c (find_keybinding): state is unsigned int (remove_keybinding): likewise (frame_selector): n is unsigned int (frame_selector_match): i is size_t. typecast comparison as size_t.
2006-03-16remove tabs and trailing whitespace.sabetts
2006-03-15*** empty log message ***sabetts
2006-03-15* src/bar.c (show_bar): accept a fmt argument. all callers and prototype ↵sabetts
updated. (update_bar): just display the last message if bar isn't hidden. (update_window_names): accept a fmt argument. all callers and prototype updated. * src/actions.c (init_user_commands): add optional argument to "info" (cmd_info): handle optional argument (cmd_windows): when called interactively use the argument as the format string.
2006-03-15*** empty log message ***sabetts
2006-03-15(init_user_commands): add optional argument to "info"sabetts
(cmd_info): handle optional argument * src/format.c: new file * src/format.h: new file * Makefile.am (ratpoison_SOURCES): add format.c and format.h * src/actions.c (set_infofmt): new function (wingravity_to_string): char * instead of static char * because needed in format.c (cmd_info): use format_string * src/actions.h (wingravity_to_string): add prototype * src/data.h (info_fmt): new variable * src/main.c (init_defaults): set a value for defaults.info_fmt * src/ratpoison.h: include format.h * src/windows.c (get_window_list): use format_string (isdigit): remove function as the formatting is now done in format.c (concat_width): likewise (format_window_name): likewise
2006-03-14* src/manage.c (ungrab_top_level_keys): unconditionally ungrab every key.sabetts
* src/events.c (mapping_notify): call ungrab_keys_all_wins and grab_keys_all_wins.
2006-03-11*** empty log message ***sabetts
2006-03-08* src/main.c (clean_up): properly free rp_frame_numsetsabetts
* src/editor.c (editor_enter): free line->buffer before setting it to the history expansion. * src/completions.c (completions_free): free the rp_completions struct too * src/actions.c (del_frame_undo): free the rp_frame_undo struct too.
2006-02-27(editor_insert): use memmove to make room forsabetts
inserted string.
2006-02-26* src/window.c (add_to_window_list): only change the window'ssabetts
group and frame if window_mapped is 0. * src/data.h (struct rp_child_info): new field window_mapped * src/actions.c (spawn): init window_mapped field in child_info.
2006-02-26*** empty log message ***sabetts
2006-01-05* src/conf.h (ASPECT_WINDOWS_ARE_TRANSIENTS): new definesabetts
* src/manage.c (window_is_transient): new function (maximize_normal): honour aspect ratio hint * src/window.c (update_window_gravity): use maxsize_gravity for windows with aspect hints. (set_active_window_body): call window_is_transient * src/split.c (cleanup_frame): call window_is_transient
2006-01-03* src/number.c (numset_add_num): store the ret val ofsabetts
numset_find_empty_cell in a variable and use it as an index into the numbers_taken array. * src/actions.c (cmd_curframe): return the frame number in non-interactive mode. * src/split.c (cleanup_frame): in the maxsize windows are transients check either the width or height must be less than the screen width/height (just like in windows.c).
2005-12-11*** empty log message ***sabetts
2005-12-11* src/manage.c (withdraw_window): call rp_delete_window_hook hooksabetts
* src/globals.c: new hook rp_delete_window_hook
2005-11-05* src/events.c (handle_signals): xsync after hiding all windowssabetts
2005-11-05* src/manage.h (unhide_all_windows): new prototypesabetts
* src/manage.c (unhide_all_windows): new function. * src/events.c (handle_signals): unhide windows before switching to a new wm
2005-10-22(get_mouse_position): renamed fromsabetts
get_mouse_root_position. get pos relative to window.
2005-10-20* src/window.c: include unistd.hsabetts
(get_child_info): new function (add_to_window_list): get the window's client's pid if possible and assign the window the appropriate group and frame. (add_to_window_list): init intended_frame_number (save_mouse_position): save the position relative to the window (give_window_focus): restore the position relative to the window (set_active_window_body): put the window in the frame contained in intended_frame_number when appropriate. * src/screen.c (screen_find_frame_by_frame): new function (init_screen): add the net_supported atom to the root window. * src/main.c (main): init netwm atoms * src/group.c (groups_find_group_by_group): new function * src/globals.c (_net_wm_pid, _net_supported): new globals * src/data.h (struct rp_window): new field intended_frame_number. (struct rp_child_info): new fields group, frame, screen. * src/actions.c (spawn): call the command directly when new argument, raw, is non zero. all callers updated. (spawn): fill in the frame, group and screen for the child.
2005-10-14*** empty log message ***sabetts
2005-10-14(cmd_describekey): print the key name even when it's bound.sabetts
2005-10-14added comment about keysym namessabetts
2005-08-24(cmd_addhook): remove erroneous call to free.sabetts
2005-08-24(pkgdata_DATA): add unrat.csabetts
(EXTRA_DIST): likewise
2005-08-23minor gramar fix.sabetts
2005-07-24committed patch from mailing listsabetts