diff options
author | sabetts <sabetts> | 2002-11-20 09:06:12 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2002-11-20 09:06:12 +0000 |
commit | 94c5b929a7c3e0f84499210b97093a3015151100 (patch) | |
tree | aa936e07612be6b858709ea6242e610e7c2ba58f /src/data.h | |
parent | c2ffdb2c8f4bb27811cda997371732967321cb82 (diff) | |
download | ratpoison-94c5b929a7c3e0f84499210b97093a3015151100.zip |
* src/main.c (init_defaults): set pointer warping to on by
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
Diffstat (limited to 'src/data.h')
-rw-r--r-- | src/data.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -160,6 +160,9 @@ struct rp_defaults int win_name; int startup_message; + + /* Pointer warping toggle. */ + int warp; }; extern struct rp_defaults defaults; |