summaryrefslogtreecommitdiff
path: root/src/input.h
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-04-24 06:10:33 +0000
committersabetts <sabetts>2004-04-24 06:10:33 +0000
commitc9303ecfb30db08b3cc12137831ab352ac9b0812 (patch)
treecbb6a01bd9c409d83300205871955edf24474830 /src/input.h
parenta0b9448f94bf5c97730f13f7e6d5cb4d435d605b (diff)
downloadratpoison-c9303ecfb30db08b3cc12137831ab352ac9b0812.zip
* src/data.h (struct rp_defaults): new members, font_string,
fgcolor_string, bgcolor_string. * src/actions.c (set_font): return defaults.font_string when data is NULL (set_fgcolor): likewise for fgcolor_string (set_bgcolor): likewise for bgcolor_string * src/manage.c (ungrab_top_level_keys): properly grab capital letters. * src/main.c (init_defaults): init fgcolor_string, bgcolor_string, and font_string * src/input.c (grab_key): change keysym type to KeySym. convert keysym to keycode. All callers updated.
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input.h b/src/input.h
index f8703e3..149979f 100644
--- a/src/input.h
+++ b/src/input.h
@@ -30,7 +30,7 @@ int read_key (KeySym *keysym, unsigned int *modifiers, char *keysym_name, int le
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);
+void grab_key (KeySym keysym, unsigned int modifiers, Window grab_window);
void ring_bell ();