diff options
Diffstat (limited to 'dmenu.c')
| -rw-r--r-- | dmenu.c | 12 |
1 files changed, 2 insertions, 10 deletions
| @@ -44,20 +44,10 @@ static char text[BUFSIZ] = ""; | |||
| 44 | static int bh, mw, mh; | 44 | static int bh, mw, mh; |
| 45 | static int inputw, promptw; | 45 | static int inputw, promptw; |
| 46 | static size_t cursor = 0; | 46 | static size_t cursor = 0; |
| 47 | static const char *font = NULL; | ||
| 48 | static const char *prompt = NULL; | ||
| 49 | static const char *normbgcolor = "#222222"; | ||
| 50 | static const char *normfgcolor = "#bbbbbb"; | ||
| 51 | static const char *selbgcolor = "#005577"; | ||
| 52 | static const char *selfgcolor = "#eeeeee"; | ||
| 53 | static const char *outbgcolor = "#00ffff"; | ||
| 54 | static const char *outfgcolor = "#000000"; | ||
| 55 | static unsigned int lines = 0; | ||
| 56 | static unsigned long normcol[ColLast]; | 47 | static unsigned long normcol[ColLast]; |
| 57 | static unsigned long selcol[ColLast]; | 48 | static unsigned long selcol[ColLast]; |
| 58 | static unsigned long outcol[ColLast]; | 49 | static unsigned long outcol[ColLast]; |
| 59 | static Atom clip, utf8; | 50 | static Atom clip, utf8; |
| 60 | static Bool topbar = True; | ||
| 61 | static DC *dc; | 51 | static DC *dc; |
| 62 | static Item *items = NULL; | 52 | static Item *items = NULL; |
| 63 | static Item *matches, *matchend; | 53 | static Item *matches, *matchend; |
| @@ -65,6 +55,8 @@ static Item *prev, *curr, *next, *sel; | |||
| 65 | static Window win; | 55 | static Window win; |
| 66 | static XIC xic; | 56 | static XIC xic; |
| 67 | 57 | ||
| 58 | #include "config.h" | ||
| 59 | |||
| 68 | static int (*fstrncmp)(const char *, const char *, size_t) = strncmp; | 60 | static int (*fstrncmp)(const char *, const char *, size_t) = strncmp; |
| 69 | static char *(*fstrstr)(const char *, const char *) = strstr; | 61 | static char *(*fstrstr)(const char *, const char *) = strstr; |
| 70 | 62 | ||
