Adding the xresources patch
This commit is contained in:
18
patch/xresources.h
Normal file
18
patch/xresources.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#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;
|
||||
|
||||
static void load_xresources(void);
|
||||
static void resource_load(XrmDatabase db, char *name, enum resource_type rtype, void *dst);
|
||||
static void xrdb(const Arg *arg);
|
||||
Reference in New Issue
Block a user