all repos — dmenu @ 88efbf3dd1d5df15581fb83566c0e087b89bf33d

my build of dmenu

removed compiler warning if XINERAMA is disabled
Anselm R Garbe garbeam@gmail.com
Thu, 17 Jul 2008 17:40:42 +0100
commit

88efbf3dd1d5df15581fb83566c0e087b89bf33d

parent

4d8a646958fa2e0c8fe9d8da3dd26357e8bb4317

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M dmenu.cdmenu.c

@@ -586,7 +586,7 @@ }

void setup(Bool topbar) { - int i, j, n, x, y; + int i, j, x, y; XModifierKeymap *modmap; XSetWindowAttributes wa; #if XINERAMA

@@ -619,6 +619,7 @@ /* menu window geometry */

mh = dc.font.height + 2; #if XINERAMA if(XineramaIsActive(dpy)) { + int n; i = 0; info = XineramaQueryScreens(dpy, &n); if(n > 1) {