Adding xresources patch
This commit is contained in:
parent
7615c2f0aa
commit
4bd0ed3327
7 changed files with 131 additions and 0 deletions
17
patch/xresources.h
Normal file
17
patch/xresources.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include <X11/Xresource.h>
|
||||
|
||||
/* Xresources preferences */
|
||||
enum resource_type {
|
||||
STRING = 0,
|
||||
INTEGER = 1,
|
||||
FLOAT = 2
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
char *name;
|
||||
enum resource_type type;
|
||||
void *dst;
|
||||
} ResourcePref;
|
||||
|
||||
int resource_load(XrmDatabase, char *, enum resource_type, void *);
|
||||
void config_init(void);
|
||||
Loading…
Add table
Add a link
Reference in a new issue