mirror of
https://github.com/davatorium/rofi.git
synced 2025-02-10 15:44:41 -05:00
Some comments
This commit is contained in:
parent
703426716a
commit
313dffa28d
1 changed files with 4 additions and 1 deletions
|
@ -44,12 +44,14 @@
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "helper.h"
|
#include "helper.h"
|
||||||
|
|
||||||
|
/** Different sources of configuration. */
|
||||||
const char * const ConfigSourceStr[] = {
|
const char * const ConfigSourceStr[] = {
|
||||||
"Default",
|
"Default",
|
||||||
"XResources",
|
"XResources",
|
||||||
"File",
|
"File",
|
||||||
"Commandline",
|
"Commandline",
|
||||||
};
|
};
|
||||||
|
/** Enumerator of different sources of configuration. */
|
||||||
enum ConfigSource
|
enum ConfigSource
|
||||||
{
|
{
|
||||||
CONFIG_DEFAULT = 0,
|
CONFIG_DEFAULT = 0,
|
||||||
|
@ -194,8 +196,9 @@ static XrmOption xrmOptions[] = {
|
||||||
"Click outside the window to exit", CONFIG_DEFAULT },
|
"Click outside the window to exit", CONFIG_DEFAULT },
|
||||||
};
|
};
|
||||||
|
|
||||||
// Dynamic options.
|
/** Dynamic array of extra options */
|
||||||
XrmOption *extra_options = NULL;
|
XrmOption *extra_options = NULL;
|
||||||
|
/** Number of entries in extra options array */
|
||||||
unsigned int num_extra_options = 0;
|
unsigned int num_extra_options = 0;
|
||||||
|
|
||||||
void config_parser_add_option ( XrmOptionType type, const char *key, void **value, const char *comment )
|
void config_parser_add_option ( XrmOptionType type, const char *key, void **value, const char *comment )
|
||||||
|
|
Loading…
Add table
Reference in a new issue