summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog5
-rw-r--r--src/actions.c2
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);