Menu: Fix item height
This commit is contained in:
parent
d38e7598a4
commit
07db3fafbd
@ -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;
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user