From 7832d2cfa9c0f89592d05af8fe94d8e5230adbdf Mon Sep 17 00:00:00 2001 From: phillbush Date: Thu, 30 Jul 2020 22:03:54 -0300 Subject: [PATCH] Simplifying manual, removing unused elements --- xmenu.1 | 7 +------ xmenu.h | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) 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 */