summaryrefslogtreecommitdiff
path: root/src/data.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.h')
-rw-r--r--src/data.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/data.h b/src/data.h
index e79ab41..95822a7 100644
--- a/src/data.h
+++ b/src/data.h
@@ -78,12 +78,21 @@ struct screen_info
struct rp_action
{
- int key;
- int state;
+ KeySym key;
+ unsigned int state;
void *data; /* misc data to be passed to the function */
/* void (*func)(void *); */
};
+struct rp_key
+{
+ KeySym sym;
+ unsigned int state;
+};
+
+/* The prefix key also known as the command character under screen. */
+extern struct rp_key prefix_key;
+
/* These _sentinel pointers point to a special rp_window whose next
pointer points to the head of the list and whose prev pointer
points to the tail. This is done to simplify removing an element