• 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 b0f37c9fdb
Author: phillbush <phillbush@cock.li>
Date: Mon Jun 29 09:58:36 2020 -0300
Compile time error fixes
commit e6bf27768f
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 0cca216309
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.
When the item->label and item->output are the same, XMenu now only
strdup() the item->label and make item->output equal to item->label.
This saves memory when the user do not write a output specification
in the input.