Now xmenu detects if a menu has an icon, and if it doesn't have, the
menu will not have the gaps fgor icons, making the -i flag unecessary
to disable the padding. The -i option is still necessary, however,
to speed up xmenu loading, since it disables imlib2 initialization
routines.
• Adding support for gaps (#3)
• Adding more comments and categorizing function declarations.
• Adding support for EWMH properties (xmenu look is now consistent
in some window compositors).
• Changing how configuration is done (now all configuration belongs
to the config structure).
commit b0f37c9fdb2deb09fa7af59067d57420bfaa87ea
Author: phillbush <phillbush@cock.li>
Date: Mon Jun 29 09:58:36 2020 -0300
Compile time error fixes
commit e6bf27768ff2ceeafb4713e90df6a35fa2294d1b
Author: Karl Martin <karlmartin895@gmail.com>
Date: Sun Jun 28 23:08:02 2020 -0400
v1.01
add: user can set gap width prefs
commit 0cca2163092b9aed2823ca65b02959440ef24f41
Author: Karl Martin <karlmartin895@gmail.com>
Date: Sun Jun 28 23:04:10 2020 -0400
INIT: func addition + error fix
hack + prefs: extra x,y padding for initial menu
add: x padding for child menus
fix: 2x compile time errors
I moved all the geometry related code to calcmenu().
The pro is that geom is now a local variable rather than global;
and that all geometry-related code is now in one place.
The con is that it weakens performance a little bit since some
variables, such as the border, have to be reset after the window
creation.
• Parsing of stdin was simplified by using conventional stdlib functions
rather than parsing the stdin byte-by-byte.
• Splited parsing of textual input and building of internal data
structures into two different functions.