summaryrefslogtreecommitdiff
path: root/src/input.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-10-18 07:51:59 +0000
committersabetts <sabetts>2001-10-18 07:51:59 +0000
commit6ddaccd940d82362ead59ee4f5d21b3feb3d57fc (patch)
tree104db9ae26790178183e001d9d17c80bc92079cf /src/input.h
parent9784bfc548debcf70cdfd202abec95be539a32fd (diff)
downloadratpoison-6ddaccd940d82362ead59ee4f5d21b3feb3d57fc.zip
* src/split.h (find_last_frame): new prototype
* src/split.c (update_last_access): new function (find_last_frame): likewise (split_frame): update the new frame's last_access field (set_active_frame): update the new current frame's last_access field * src/input.h (x11_mask_to_rp_mask): new prototype (rp_mask_to_x11_mask): likewise * src/input.c (x11_mask_to_rp_mask): new function (rp_mask_to_x11_mask): likewise * src/events.c (handle_key): convert X11 modifier masks to rp modifier masks where appropriate. * src/actions.h (cmd_focuslast): new prototype * src/actions.c (initialize_default_keybindings): new keybinding for "focuslast" (cmd_focuslast): new function (user_command): new command "focuslast"
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h
index 44f009d..65e4607 100644
--- a/src/input.h
+++ b/src/input.h
@@ -27,6 +27,8 @@ int cook_keycode (XKeyEvent *ev, KeySym *keysym, unsigned int *mod, char *keysym
char *get_input (char *prompt);
char *get_more_input (char *prompt, char *preinput);
int read_key (KeySym *keysym, unsigned int *modifiers, char *keysym_name, int len);
+unsigned int x11_mask_to_rp_mask (unsigned int mask);
+unsigned int rp_mask_to_x11_mask (unsigned int mask);
void update_modifier_map ();
void grab_key (int keycode, unsigned int modifiers, Window grab_window);