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 /group.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 'group.c')
-rw-r--r-- | group.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/group.c b/group.c index 589015a..ee6af0a 100644 --- a/group.c +++ b/group.c @@ -273,7 +273,7 @@ group_menu(XButtonEvent *e) if (TAILQ_EMPTY(&menuq)) return; - mi = (struct menu *)grab_menu(e, &menuq); + mi = menu_filter(&menuq, NULL, NULL, 0, NULL, NULL); if (mi == NULL || mi->ctx == NULL) goto cleanup; |