From d8747ae7023d5c5e2c6542a835c008b262261e82 Mon Sep 17 00:00:00 2001 From: okan Date: Fri, 24 Jun 2011 06:52:23 +0000 Subject: add 'normal' cursor and shuffle the others we use to make a bit more sense and to be slightly less un-expected. from Alexander Polakov. re-use 'normal' cursor now instead XC_hand1 for menu selection. i really wish X had real docs and made sense. ok on earlier diff with '?' removed (but it's back now) oga@ --- menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index 660ff8b..04870fe 100644 --- a/menu.c +++ b/menu.c @@ -405,7 +405,7 @@ menu_handle_move(XEvent *e, struct menu_ctx *mc, struct screen_ctx *sc) XFillRectangle(X_Dpy, sc->menuwin, sc->gc, 0, font_height(sc) * mc->prev, mc->width, font_height(sc)); if (mc->entry != -1) { - xu_ptr_regrab(MenuGrabMask, Cursor_select); + xu_ptr_regrab(MenuGrabMask, Cursor_normal); XFillRectangle(X_Dpy, sc->menuwin, sc->gc, 0, font_height(sc) * mc->entry, mc->width, font_height(sc)); } else -- cgit 1.4.1