diff -rub dmenu-1.2/main.c dmenu-1.2-btm/main.c --- dmenu-1.2/main.c 2006-10-06 21:14:08.000000000 +0930 +++ dmenu-1.2-btm/main.c 2006-10-13 11:20:47.000000000 +0930 @@ -15,6 +15,8 @@ #include #include +#define SCREENHEIGHT 800 + typedef struct Item Item; struct Item { Item *next; /* traverses all items */ @@ -336,7 +338,7 @@ mx = my = 0; mw = DisplayWidth(dpy, screen); mh = dc.font.height + 2; - win = XCreateWindow(dpy, root, mx, my, mw, mh, 0, + win = XCreateWindow(dpy, root, mx, SCREENHEIGHT - mh, mw, mh, 0, DefaultDepth(dpy, screen), CopyFromParent, DefaultVisual(dpy, screen), CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa);