|
@ -42,8 +42,8 @@ typedef struct { |
|
|
typedef struct Item Item; |
|
|
typedef struct Item Item; |
|
|
struct Item { |
|
|
struct Item { |
|
|
char *text; |
|
|
char *text; |
|
|
Item *next; /* traverses all items */ |
|
|
|
|
|
Item *left, *right; /* traverses items matching current search pattern */ |
|
|
|
|
|
|
|
|
Item *next; /* traverses all items */ |
|
|
|
|
|
Item *left, *right; /* traverses items matching current search pattern */ |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
/* forward declarations */ |
|
|
/* forward declarations */ |
|
@ -85,8 +85,8 @@ static unsigned int numlockmask = 0; |
|
|
static Bool running = True; |
|
|
static Bool running = True; |
|
|
static Display *dpy; |
|
|
static Display *dpy; |
|
|
static DC dc; |
|
|
static DC dc; |
|
|
static Item *allitems = NULL; /* first of all items */ |
|
|
|
|
|
static Item *item = NULL; /* first of pattern matching items */ |
|
|
|
|
|
|
|
|
static Item *allitems = NULL; /* first of all items */ |
|
|
|
|
|
static Item *item = NULL; /* first of pattern matching items */ |
|
|
static Item *sel = NULL; |
|
|
static Item *sel = NULL; |
|
|
static Item *next = NULL; |
|
|
static Item *next = NULL; |
|
|
static Item *prev = NULL; |
|
|
static Item *prev = NULL; |
|
|