projects
/
xmenu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8e799bb
)
Simplifying manual, removing unused elements
author
phillbush
<phillbush@cock.li>
Fri, 31 Jul 2020 01:03:54 +0000
(22:03 -0300)
committer
phillbush
<phillbush@cock.li>
Fri, 31 Jul 2020 01:03:54 +0000
(22:03 -0300)
xmenu.1
patch
|
blob
|
blame
|
history
xmenu.h
patch
|
blob
|
blame
|
history
diff --git
a/xmenu.1
b/xmenu.1
index
a85d4cf
..
1e602df
100644
(file)
--- a/
xmenu.1
+++ b/
xmenu.1
@@
-18,12
+18,7
@@
The options are as follows:
.TP
.B -i
Disable icons.
.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.
.TP
.BI -p " position"
Set the position to spawn xmenu.
diff --git
a/xmenu.h
b/xmenu.h
index
909b091
..
93a3fd7
100644
(file)
--- 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 */
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 */
struct Item *prev; /* previous item */
struct Item *next; /* next item */
struct Menu *submenu; /* submenu spawned by clicking on item */