pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a280bda
)
Xinerama: correct variable declarations in preprocessor conditional
author
Thomas Gardner
<tmg@fastmail.com>
Fri, 25 Nov 2016 12:38:09 +0000
(22:38 +1000)
committer
Hiltjo Posthuma
<hiltjo@codemadness.org>
Fri, 25 Nov 2016 13:21:40 +0000
(14:21 +0100)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index
9278e91
..
1cfefcd
100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-539,15
+539,16
@@
run(void)
static void
setup(void)
{
- int x, y;
+ int x, y, i = 0;
+ unsigned int du;
XSetWindowAttributes swa;
XIM xim;
+ Window w, dw, *dws;
+ XWindowAttributes wa;
#ifdef XINERAMA
XineramaScreenInfo *info;
- Window w, pw, dw, *dws;
- XWindowAttributes wa;
- int a, j, di, n, i = 0, area = 0;
- unsigned int du;
+ Window pw;
+ int a, j, di, n, area = 0;
#endif
/* init appearance */