From: phillbush Date: Fri, 31 Jul 2020 01:03:54 +0000 (-0300) Subject: Simplifying manual, removing unused elements X-Git-Url: http://git.subgeniuskitty.com/xmenu/.git/commitdiff_plain/7832d2cfa9c0f89592d05af8fe94d8e5230adbdf Simplifying manual, removing unused elements --- diff --git a/xmenu.1 b/xmenu.1 index a85d4cf..1e602df 100644 --- a/xmenu.1 +++ b/xmenu.1 @@ -18,12 +18,7 @@ The options are as follows: .TP .B -i Disable icons. -.B xmenu -allocates a space at the left side of the menu for the icons; -if there is no icon, then this space will be blank. -Setting the -.B -i -option removes this space, making the menu narrower. +This makes xmenu loading faster when not using icons. .TP .BI -p " position" Set the position to spawn xmenu. diff --git a/xmenu.h b/xmenu.h index 909b091..93a3fd7 100644 --- a/xmenu.h +++ b/xmenu.h @@ -64,7 +64,6 @@ struct Item { char *file; /* filename of the icon */ int y; /* item y position relative to menu */ int h; /* item height */ - size_t labellen; /* strlen(label) */ struct Item *prev; /* previous item */ struct Item *next; /* next item */ struct Menu *submenu; /* submenu spawned by clicking on item */