summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2002-11-20 09:06:12 +0000
committersabetts <sabetts>2002-11-20 09:06:12 +0000
commit94c5b929a7c3e0f84499210b97093a3015151100 (patch)
treeaa936e07612be6b858709ea6242e610e7c2ba58f /src/data.h
parentc2ffdb2c8f4bb27811cda997371732967321cb82 (diff)
downloadratpoison-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/data.h b/src/data.h
index bba9f29..eae7df7 100644
--- a/src/data.h
+++ b/src/data.h
@@ -160,6 +160,9 @@ struct rp_defaults
int win_name;
int startup_message;
+
+ /* Pointer warping toggle. */
+ int warp;
};
extern struct rp_defaults defaults;