projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d8a646
)
removed compiler warning if XINERAMA is disabled
author
Anselm R Garbe
<garbeam@gmail.com>
Thu, 17 Jul 2008 16:40:42 +0000
(17:40 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Thu, 17 Jul 2008 16:40:42 +0000
(17:40 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index e48733380f3880c6a9965ecdaf1c2c3cdffd6c96..863a262a5679f728bd7e9789fd3693212fb123fe 100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-586,7
+586,7
@@
run(void) {
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
@@
setup(Bool topbar) {
mh = dc.font.height + 2;
#if XINERAMA
if(XineramaIsActive(dpy)) {
+ int n;
i = 0;
info = XineramaQueryScreens(dpy, &n);
if(n > 1) {