summaryrefslogtreecommitdiff
path: root/dmenu.h
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2010-07-30 13:40:56 +0100
committerConnor Lane Smith <cls@lubutu.com>2010-07-30 13:40:56 +0100
commit7d5fe17391fefd978eab281a6cbebe2aa601e9ce (patch)
tree07d003a35241fb2c24e66fc30498c16ccdb39be2 /dmenu.h
parent7f36736d11418b0b11d02da8aa0cb663406706c2 (diff)
merged dmenu & dinput (clunky interface)
Diffstat (limited to 'dmenu.h')
-rw-r--r--dmenu.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/dmenu.h b/dmenu.h
deleted file mode 100644
index 4cc13f4..0000000
--- a/dmenu.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <X11/Xlib.h>
-#include <draw.h>
-#include "config.h"
-
-/* macros */
-#define INRECT(X,Y,RX,RY,RW,RH) ((X) >= (RX) && (X) < (RX) + (RW) && (Y) >= (RY) && (Y) < (RY) + (RH))
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
-#define MAX(a, b) ((a) > (b) ? (a) : (b))
-#define IS_UTF8_1ST_CHAR(c) ((((c) & 0xc0) == 0xc0) || !((c) & 0x80))
-
-/* forward declarations */
-void drawbar(void);
-void grabkeyboard(void);
-void kpress(XKeyEvent *e);
-void run(void);
-void setup(unsigned int lines);
-
-/* variables */
-extern char *prompt;
-extern char text[4096];
-extern int promptw;
-extern int screen;
-extern unsigned int numlockmask;
-extern unsigned int mw, mh;
-extern unsigned long normcol[ColLast];
-extern unsigned long selcol[ColLast];
-extern Bool topbar;
-extern DC dc;
-extern Display *dpy;
-extern Window win, root;