Menu: Fix item height

This commit is contained in:
Martin Duquesnoy 2010-04-22 17:56:35 +02:00
parent d38e7598a4
commit 07db3fafbd
2 changed files with 3 additions and 3 deletions

View File

@ -1250,8 +1250,8 @@ uicb_client_select(uicb_t cmd)
/* Move pointer on client */ /* Move pointer on client */
XQueryPointer(dpy, ROOT, &w, &w, &x, &y, &d, &d, (uint *)&d); XQueryPointer(dpy, ROOT, &w, &w, &x, &y, &d, &d, (uint *)&d);
XWarpPointer(dpy, ROOT, ROOT, x, y, d, d, XWarpPointer(dpy, ROOT, ROOT, x, y, d, d,
clist_index[i].client->geo.x + clist_index[i].client->geo.width / 2, clist_index[i].client->geo.x + clist_index[i].client->geo.width / 2,
clist_index[i].client->geo.y + clist_index[i].client->geo.height / 2); clist_index[i].client->geo.y + clist_index[i].client->geo.height / 2);
} }
return; return;

View File

@ -91,7 +91,7 @@ menu_draw(Menu menu, int x, int y)
SHADH, SHADH,
(i * (INFOBARH - SHADH) + SHADH), (i * (INFOBARH - SHADH) + SHADH),
width - SHADH, width - SHADH,
INFOBARH, INFOBARH - SHADH,
menu.colors.normal.bg, menu.colors.normal.bg,
menu.colors.normal.fg, menu.colors.normal.fg,
True, False, False); True, False, False);