b1f9766573
Changes: * src/main.c (xvsprintf): limit memory allocation to 200K when vsnprintf return -1. (i.e. on pre-1999 systems not distinguising fatal errors and too small buffer). * src/manage.c (get_res_name, get_res_class): remove (update_window_name): call get_class_hints directly to avoid it being called two times. * src/manage.c (get_wmname): always try XmbTextPropertyToTextList first to also support UTF-8 window titles when encoded as XA_STRING * src/main.c (clean_up): call free_user_commands, free_groups only after free_window_stuff * src/window.c (free_window_stuff): remove windows from group lists * src/action.h (free_user_commands): new prototype * src/action.c (set_var_free,user_command_free,free_user_commands): new functions * src/manage.c (get_wmname): free buffer to close memory hole * src/actions.c (cmd_windows): free buffer to close memory hole * src/main.c (init_defaults): only load the backup font when the default font fails. * src/main.c (init_defaults): if the default font fails, use the backup font. * src/conf.h (BACKUP_FONT): new define * src/input.c (update_modifier_map): don't map both super and hyper to the same modifier slot. * src/split.c (set_active_frame): call switch_frame hook (show_frame_indicator): only show frame indicator (set_active_frame): new arg force_indicator. all callers updated. (show_frame_indicator): new arg force. all callers updated. * src/main.c (init_defaults): init bar_in_padding * src/globals.c (rp_switch_screen_hook): new hook * src/data.h (struct rp_defaults): new slot, bar_in_padding * src/bar.c (bar_x): honour bar_in_padding setting (bar_y): likewise * src/actions.c (init_set_vars): add barinpadding (set_barinpadding): new function * src/globals.h: new global rp_switch_screen_hook * src/frame.c (frame_read): fix bug to never set dedicated |
||
---|---|---|
.. | ||
DESCR | ||
distinfo | ||
Makefile | ||
PLIST |