[hackers] [dmenu] Xinerama: correct variable declarations in preprocessor conditional || Thomas Gardner
commit e90b88e12a88d6214c00d5ee58ceb69446aa5ac4
Author: Thomas Gardner <tmg_AT_fastmail.com>
AuthorDate: Fri Nov 25 22:38:09 2016 +1000
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Fri Nov 25 14:21:40 2016 +0100
Xinerama: correct variable declarations in preprocessor conditional
diff --git a/dmenu.c b/dmenu.c
index 9278e91..1cfefcd 100644
--- a/dmenu.c
+++ b/dmenu.c
_AT_@ -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 */
Received on Fri Nov 25 2016 - 14:25:45 CET
This archive was generated by hypermail 2.3.0
: Fri Nov 25 2016 - 14:36:15 CET