Skip to content

Commit

Permalink
fix Window define
Browse files Browse the repository at this point in the history
  • Loading branch information
orsonteodoro committed Dec 29, 2013
1 parent 7f5aead commit 3a144da
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dmenu.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

/* portibility stuff */
#if USE_WINAPI
#define WINDOW HWND
#define Window HWND
#define Pixmap HDC
#define GC HDC
#define False FALSE
Expand Down Expand Up @@ -126,11 +126,10 @@ static DC *dc;
static Item *items = NULL;
static Item *matches, *matchend;
static Item *prev, *curr, *next, *sel;
#if USE_XLIB
static Window win;
#if USE_XLIB
static XIC xic;
#elif USE_WINAPI
static HWND win;
static int sx, sy, sw, sh; /* X display screen geometry x, y, width, height */
static int by, bh; /* bar geometry y, height and layout symbol width */
static int wx, wy, ww, wh; /* window area geometry x, y, width, height, bar excluded */
Expand Down

0 comments on commit 3a144da

Please sign in to comment.