diff options
author | oga <oga> | 2008-05-21 14:11:19 +0000 |
---|---|---|
committer | oga <oga> | 2008-05-21 14:11:19 +0000 |
commit | 779cf04f0557baa2f94ab788e0a1c36cd3a613c5 (patch) | |
tree | 6f2ddece2052ee53f72065e48457a90ace015602 /xevents.c | |
parent | 1e46ba72f706d7ab2b0f7a6a14054b908348d10e (diff) | |
download | cwm-779cf04f0557baa2f94ab788e0a1c36cd3a613c5.tar.gz cwm-779cf04f0557baa2f94ab788e0a1c36cd3a613c5.tar.xz cwm-779cf04f0557baa2f94ab788e0a1c36cd3a613c5.zip |
Make menu_filter handle mouse movement too. This enables the keyboard
search dialogues to be manipulated with the mouse, too. It also allows me to shrink the codebase further by killing grab_menu(). One known issue with highlighting the first entry in a search dialogue, that'll be fixed soonish. ok okan@, tested by Edd Barrett and todd@.
Diffstat (limited to 'xevents.c')
-rw-r--r-- | xevents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c index ca3c0d9..32d97e7 100644 --- a/xevents.c +++ b/xevents.c @@ -290,7 +290,7 @@ xev_handle_buttonpress(struct xevent *xev, XEvent *ee) if (TAILQ_EMPTY(&menuq)) goto out; - mi = (struct menu *)grab_menu(e, &menuq); + mi = menu_filter(&menuq, NULL, NULL, 0, NULL, NULL); if (mi == NULL) goto cleanup; |