…ings, plus a dot, plus the trailing 0
Using the XResourceManagerString unchecked caused a segfault. This happens when Xresources are not loaded, e.g. using xrdb.
Configuration values can now be specified as X resources (e.g. ~/.Xdefaults, xrdb -load ~/.Xdefaults, man 1 xrdb). Name or Instance is 'simpleswitcher', Class is 'Simpleswitcher'. Possible values are: key dkey width lines font foreground background alternatebg highlightfg highlightbg bordercolor release startindex borderwidth opacity E.g.: Simpleswitcher.key: F12 Simpleswitcher.width: 50 etc.
The values are now assigned at compiled time. Hence it is not necessary anymore to check for valid command line values at runtime and assign the default value if necessary. Now it is sufficient to assign a new value only if there actually is one. This is also some preliminary work for other sources of configuration values.
* Works only when a modifier key is specified, e.g. mod1+Tab, otherwise normal old behaviour * Pressing modifier + key will pop up simpleswitcher, holding down modifier and repeatedly pressing key will cycle through the list Upon release of modifier the selected entry will be focused * Hitting Escape once turns of the release action. Now entries can be filtered by typing, programs can be started or entries can be cycled through again * Hitting Escape a second time aborts simpleswitcher without any action