From 07db3fafbd37ae0a6d342cca9d5bbc6dcb75c083 Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Thu, 22 Apr 2010 17:56:35 +0200 Subject: [PATCH] Menu: Fix item height --- src/client.c | 4 ++-- src/menu.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/client.c b/src/client.c index a0c65aa..0b1b4e4 100644 --- a/src/client.c +++ b/src/client.c @@ -1250,8 +1250,8 @@ uicb_client_select(uicb_t cmd) /* Move pointer on client */ XQueryPointer(dpy, ROOT, &w, &w, &x, &y, &d, &d, (uint *)&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.y + clist_index[i].client->geo.height / 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); } return; diff --git a/src/menu.c b/src/menu.c index 6ad1a55..36abffb 100644 --- a/src/menu.c +++ b/src/menu.c @@ -91,7 +91,7 @@ menu_draw(Menu menu, int x, int y) SHADH, (i * (INFOBARH - SHADH) + SHADH), width - SHADH, - INFOBARH, + INFOBARH - SHADH, menu.colors.normal.bg, menu.colors.normal.fg, True, False, False);