Age | Commit message (Collapse) | Author |
|
PRINT_DEBUG are defined as void macros.
* src/events.c (client_msg): Add semicolon to the end of a
PRINT_DEBUG line.
* src/actions.c (cmd_bind): typecast data as a (char *) before
using it in (char *) pointer arithmetic.
* configure.in: Add check to see if the preprocessor has variable
argument macro capabilities.
|
|
default.
* src/list.c (give_window_focus): only warp the pointer if the
warp setting is turned on.
* src/data.h (struct rp_defaults): new member, warp.
* src/actions.h (cmd_ward): new prototype
* src/actions.c (user_command): new command "warp"
(cmd_warp): new function
|
|
pixels from the frame's current size to get the new frame's size.
|
|
(VERTICALLY): likewise
(split_frame): new argument 'pixels'. The current frame is split
and resized to 'pixels' pixels.
(v_split_frame): new argument 'pixels'. prototype updated.
(h_split_frame): likewise
* src/actions.c (user_commands): hsplit, vsplit, and split take a
string argument.
(read_split): new function
(cmd_h_split): takes a ratio or number to determine how big the
frame split will be.
(cmd_v_split): likewise
|
|
(cmd_unbind): likewise
|
|
IGNORE_BADWINDOW is define.
* src/conf.h (IGNORE_BADWINDOW): new define
|
|
bottom of the screen.
|
|
|
|
* src/actions.c: include <strings.h>
include setenv implementation if HAVE_SETENV is not set,
OR setenv is not defined (removes a compiler warning on
AIX)
* src/events.c: include <strings.h>
* src/getopt.c: include <strings.h>
|
|
before looking in the command list.
* src/actions.h (cmd_unalias): new prototype
* src/actions.c (user_commands): new command unalias
(cmd_unalias): new function
|
|
when there is only 1 screen.
(cmd_prevscreen): likewise
|
|
multiple screens.
* src/data.h (struct rp_window_frame): new data member 'number'.
* src/actions.h (cmd_prevscreen): new prototype
(cmd_nextscreen): likewise
* src/actions.c (user_commands): new commands "nextscreen" and
"prevscreen"
(cmd_nextscreen): new function
(cmd_prevscreen): likewise
|
|
* src/sbuf.c: likewise
* src/events.c: likewise
* src/communications.c: likewise
|
|
more readable.
* src/events.c (configure_request): call XSync after granting
configure request.
(property_notify): maximize the window on receiving a normal hints
property change.
|
|
|
|
(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.
|
|
(cmd_help): likewise
|
|
event caused by the geometry change if the window is not mapped.
|
|
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.
|
|
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.
|
|
defbarpadding is called interactively without arguments.
|
|
out.
|
|
|
|
* 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.
|
|
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.
|
|
NULL use "None" instead.
|
|
avoid a name clash with the function cmd_alias. Dependant code
updated.
|
|
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.
|
|
(cmd_deffgcolor): don't set the foreground color for key_window.
|
|
gravity argument using parse_wingravity.
|
|
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.
|
|
width.
|
|
arguments passed in before evaluating the alias.
|
|
(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.
|
|
string to return "n" not "ng".
|
|
string to return "n" not "ng".
|
|
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.
|
|
(delegate_event): add ConfigureNotify to the ignored events list.
* src/manage.c (update_normal_hints): improve debugging output.
|
|
|
|
the string instead of 7 bytes in.
|
|
* 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.
|
|
|
|
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.
|
|
* 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.
|
|
* 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
|
|
unimplemented section.
|
|
* src/actions.c (cmd_license): new function
(user_commands): new command "license"
(initialize_default_keybindings): bind "license" to V and C-V
|
|
options.
|
|
* 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
|
|
(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.
|