diff options
author | okan <okan> | 2011-06-24 06:52:23 +0000 |
---|---|---|
committer | okan <okan> | 2011-06-24 06:52:23 +0000 |
commit | d8747ae7023d5c5e2c6542a835c008b262261e82 (patch) | |
tree | fe652b8825304bd99475d3b7f524c4f8e88f4712 /menu.c | |
parent | 8f1c5833613687e67c8422bd50c34b4d11fa2e6c (diff) | |
download | cwm-d8747ae7023d5c5e2c6542a835c008b262261e82.tar.gz cwm-d8747ae7023d5c5e2c6542a835c008b262261e82.tar.xz cwm-d8747ae7023d5c5e2c6542a835c008b262261e82.zip |
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@
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |