X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;ds=sidebyside;f=dmenu.c;h=175cbdc39585705cfb69c76789178cdf288ea3bf;hb=b54c179d585871d9c96311696f58824edeff09e4;hp=608023daf38a005834be2e3f44f16dff09b036b3;hpb=06c18808b6f23bc5120533559e70fbcbff753e84;p=dmenu.git diff --git a/dmenu.c b/dmenu.c index 608023d..175cbdc 100644 --- a/dmenu.c +++ b/dmenu.c @@ -42,7 +42,6 @@ static void setup(void); static void usage(void); static char text[4096]; -static int promptw; static size_t cursor = 0; static const char *prompt = NULL; static const char *normbgcolor = "#cccccc"; @@ -52,6 +51,7 @@ static const char *selfgcolor = "#ffffff"; static unsigned int inputw = 0; static unsigned int lines = 0; static unsigned int mw, mh; +static unsigned int promptw; static unsigned long normcol[ColLast]; static unsigned long selcol[ColLast]; static Atom utf8;