diff options
author | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-05-21 14:11:20 +0000 |
---|---|---|
committer | Owain Ainsworth <oga@cvs.openbsd.org> | 2008-05-21 14:11:20 +0000 |
commit | 913928db385e6d08f0141674758a36e9f4978c33 (patch) | |
tree | 40e08422b237763329fa35ca4be3cc341b0dbe1a /app/cwm/group.c | |
parent | 0552425b23ee3a2ddd3452e9e2f5ffc97bfadd0d (diff) |
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 'app/cwm/group.c')
-rw-r--r-- | app/cwm/group.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/group.c b/app/cwm/group.c index 294d7f782..1be7cd1ab 100644 --- a/app/cwm/group.c +++ b/app/cwm/group.c @@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: group.c,v 1.16 2008/05/19 17:13:55 oga Exp $ + * $Id: group.c,v 1.17 2008/05/21 14:11:19 oga Exp $ */ #include "headers.h" @@ -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; |