Age | Commit message (Collapse) | Author |
|
(resize_shrink_to_window): likewise
(resize_frame_vertically): likewise
(resize_frame_horizontally): likewise
* src/split.c (num_frames): no longer a static function
(resize_shrink_to_window): new function
(resize_frame_vertically): likewise
(resize_frame_horizontally): likewise
* src/main.c (init_defaults): init frame_resize_unit.
* src/data.h (struct rp_defaults): new member frame_resize_unit.
* src/conf.h (RESIZE_VGROW_KEY): new define
(RESIZE_VGROW_MODIFIER): likewise
(RESIZE_VSHRINK_KEY): likewise
(RESIZE_VSHRINK_MODIFIER): likewise
(RESIZE_HGROW_KEY): likewise
(RESIZE_HGROW_MODIFIER): likewise
(RESIZE_HSHRINK_KEY): likewise
(RESIZE_HSHRINK_MODIFIER): likewise
(RESIZE_SHRINK_TO_WINDOW_KEY): likewise
(RESIZE_SHRINK_TO_WINDOW_MODIFIER): likewise
(RESIZE_END_KEY): likewise
(RESIZE_END_MODIFIER): likewise
* src/actions.h (cmd_shrink): new prototype
(cmd_resize): likewise
(cmd_defresizeunit): likewise
* src/actions.c (user_commands): add commands cmd_resize and
cmd_shrink, and cmd_defresizeunit.
(cmd_shrink): new function
(cmd_resize): likewise
(cmd_defresizeunit): likewise
|
|
|
|
(cmd_unbind): likewise
(cmd_source): likewise
(cmd_select): likewise
(cmd_number): likewise
(cmd_escape): likewise
(cmd_h_split): likewise
(cmd_v_split): likewise
(cmd_rudeness): likewise
(cmd_gravity): likewise
(cmd_defwingravity): likewise
(cmd_deftransgravity): likewise
(cmd_defmaxsizegravity): likewise
(cmd_msgwait): likewise
(cmd_defbargravity): likewise
(cmd_defbargravity): likewise
(cmd_defborder): likewise
(cmd_defbarborder): likewise
(cmd_definputwidth): likewise
(cmd_definputwidth): only accept input widths >=0
(cmd_chdir): add error message if HOME environment variable is not
set.
(cmd_chdir): add error message if chdir fails.
(cmd_rudeness): only accept rudeness numbers between 0 and 15
(cmd_msgwait): only accept waiting times >=0
|
|
variables.
|
|
the error occurred in.
|
|
non-interactively.
|
|
|
|
check for setenv and unsetenv.
* src/actions.c (setenv): remove function
(unsetenv): likewise
(cmd_setenv): use putenv instead of setenv.
(cmd_unsetenv): likewise
|
|
isn't already there.
|
|
(chld_handler): new function
* src/events.c: include sys/wait.h
(handle_signals): Print an error message in the case of a child
signal.
* src/data.h (struct rp_child_info): New struct.
(child_info): New global.
(chld_signalled): likewise
* src/actions.c (spawn): Let the SIGCHLD handler handle process
completion instead of doing an ugly dance.
|
|
|
|
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.
|