summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c2
1 files changed, 1 insertions, 1 deletions
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);