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);