diff options
author | rcyeske <rcyeske> | 2001-02-14 03:51:12 +0000 |
---|---|---|
committer | rcyeske <rcyeske> | 2001-02-14 03:51:12 +0000 |
commit | 33bd4ad5f5ac09fdf22c6536cd73af9d7afa6860 (patch) | |
tree | e68d83422e4cae59de281426f3b07d5e05e81c03 /src | |
parent | 0d71ac772543510d521158f0cc8c6b0d0a5d3229 (diff) | |
download | ratpoison-33bd4ad5f5ac09fdf22c6536cd73af9d7afa6860.zip |
cannot over modify keystrokes
Diffstat (limited to 'src')
-rw-r--r-- | src/events.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/events.c b/src/events.c index a2edacd..be6123b 100644 --- a/src/events.c +++ b/src/events.c @@ -304,10 +304,10 @@ handle_key (screen_info *s) { if (keysym == i->key) { - if (i->state == -1 || mod == i->state) + if (mod == i->state) { /* Revert focus back to the current window before - executing the command. */ + executing the command. */ XSetInputFocus (dpy, fwin, revert, CurrentTime); (*i->func)(i->data); return; @@ -323,7 +323,7 @@ handle_key (screen_info *s) /* No key match, notify user. */ XSetInputFocus (dpy, fwin, revert, CurrentTime); - display_msg_in_bar (s, msg); + display_msg_in_bar (s, msg, 0, 0); } void |