summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrcyeske <rcyeske>2001-02-14 03:51:12 +0000
committerrcyeske <rcyeske>2001-02-14 03:51:12 +0000
commit33bd4ad5f5ac09fdf22c6536cd73af9d7afa6860 (patch)
treee68d83422e4cae59de281426f3b07d5e05e81c03 /src
parent0d71ac772543510d521158f0cc8c6b0d0a5d3229 (diff)
downloadratpoison-33bd4ad5f5ac09fdf22c6536cd73af9d7afa6860.zip
cannot over modify keystrokes
Diffstat (limited to 'src')
-rw-r--r--src/events.c6
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