summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2001-06-01 19:32:25 +0000
committersabetts <sabetts>2001-06-01 19:32:25 +0000
commit2a84949a2adb5e342db8043512c3866f2e396e5b (patch)
tree25dab2bb417e1a219ff7ca95fcb55b0b24e792ee /src/input.c
parent366e07b927a7c54012d21819b6504fb06878fcc1 (diff)
downloadratpoison-2a84949a2adb5e342db8043512c3866f2e396e5b.zip
reverted last revision
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/input.c b/src/input.c
index 01c0303..60f4624 100644
--- a/src/input.c
+++ b/src/input.c
@@ -39,13 +39,9 @@ update_modifier_map ()
/* rp_modifier_info.mode_switch_mask = 0; */
rp_modifier_info.meta_mod_mask = 0;
- rp_modifier_info.meta_sym = 0;
rp_modifier_info.alt_mod_mask = 0;
- rp_modifier_info.alt_sym = 0;
rp_modifier_info.super_mod_mask = 0;
- rp_modifier_info.super_sym = 0;
rp_modifier_info.hyper_mod_mask = 0;
- rp_modifier_info.hyper_sym = 0;
mods = XGetModifierMapping (dpy);
@@ -60,7 +56,6 @@ update_modifier_map ()
{
case XK_Meta_L:
case XK_Meta_R:
- rp_modifier_info.meta_sym = XKeycodeToKeysym(dpy, code, 0);
rp_modifier_info.meta_mod_mask |= modmasks[row - 3];
PRINT_DEBUG ("Found Meta on %d\n",
rp_modifier_info.meta_mod_mask);
@@ -68,7 +63,6 @@ update_modifier_map ()
case XK_Alt_L:
case XK_Alt_R:
- rp_modifier_info.alt_sym = XKeycodeToKeysym(dpy, code, 0);
rp_modifier_info.alt_mod_mask |= modmasks[row - 3];
PRINT_DEBUG ("Found Alt on %d\n",
rp_modifier_info.alt_mod_mask);
@@ -76,8 +70,6 @@ update_modifier_map ()
case XK_Super_L:
case XK_Super_R:
- rp_modifier_info.super_sym = XKeycodeToKeysym(dpy, code, 0);
- rp_modifier_info.super_sym = XKeycodeToKeysym(dpy, code, 0);
rp_modifier_info.super_mod_mask |= modmasks[row - 3];
PRINT_DEBUG ("Found Super on %d\n",
rp_modifier_info.super_mod_mask);
@@ -85,8 +77,6 @@ update_modifier_map ()
case XK_Hyper_L:
case XK_Hyper_R:
- rp_modifier_info.hyper_sym = XKeycodeToKeysym(dpy, code, 0);
- rp_modifier_info.hyper_sym = XKeycodeToKeysym(dpy, code, 0);
rp_modifier_info.hyper_mod_mask |= modmasks[row - 3];
PRINT_DEBUG ("Found Hyper on %d\n",
rp_modifier_info.hyper_mod_mask);
@@ -108,9 +98,7 @@ update_modifier_map ()
if (! rp_modifier_info.meta_mod_mask)
{
rp_modifier_info.meta_mod_mask = rp_modifier_info.alt_mod_mask;
- rp_modifier_info.meta_sym = rp_modifier_info.alt_sym;
rp_modifier_info.alt_mod_mask = 0;
- rp_modifier_info.alt_sym = 0;
}
/* If some keys are both alt and meta,