diff options
author | rcyeske <rcyeske> | 2001-02-21 21:16:43 +0000 |
---|---|---|
committer | rcyeske <rcyeske> | 2001-02-21 21:16:43 +0000 |
commit | c59150f7c0c5fa35c15d15814cc2d306f0fac16b (patch) | |
tree | de375b7d98d86b1c13d04f300e4e22b61931a5ee /src | |
parent | eacd13ab3fb893985d6178d54fc43754922f893f (diff) | |
download | ratpoison-c59150f7c0c5fa35c15d15814cc2d306f0fac16b.zip |
fixed generate prefix stupidity
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/actions.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1974bcb..15445c4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2001-02-21 Ryan Yeske <rcyeske@cut.hotdog.tmp> + + * actions.c (cmd_generate): Send the modifier prefix state as well + as the keycode. + 2001-02-19 Ryan Yeske <rcyeske@cut.hotdog.tmp> * events.c (handle_key): Call find_keybinding() instead of looping diff --git a/src/actions.c b/src/actions.c index c670f9f..ce1aaf2 100644 --- a/src/actions.c +++ b/src/actions.c @@ -212,7 +212,7 @@ cmd_generate (void *data) /* ev1.xkey.x_root == */ /* ev1.xkey.y_root == */ - ev1.xkey.state = 0; + ev1.xkey.state = MODIFIER_PREFIX; ev1.xkey.keycode = XKeysymToKeycode (dpy, KEY_PREFIX); XSendEvent (dpy, rp_current_window->w, False, KeyPressMask, &ev1); |