diff options
author | okan | 2011-06-24 06:52:23 +0000 |
---|---|---|
committer | okan | 2011-06-24 06:52:23 +0000 |
commit | 3e6eeaaf087fe881587a1a4a685fb1e460e76914 (patch) | |
tree | 3be61b609e2b233e01e19ac5af16febb3d98d4d5 /menu.c | |
parent | feff015aa1ac96d5c2ef8cc9b6413f4aa8ed2b8a (diff) | |
download | cwm-3e6eeaaf087fe881587a1a4a685fb1e460e76914.tar.gz |
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 '')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. * - * $OpenBSD: menu.c,v 1.27 2011/05/11 13:53:51 okan Exp $ + * $OpenBSD: menu.c,v 1.28 2011/06/24 06:52:23 okan Exp $ */ #include <sys/param.h> @@ -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 |