Xinerama: correct variable declarations in preprocessor conditional
e90b88e1
1 file(s) · +6 −5
| 539 | 539 | static void |
|
| 540 | 540 | setup(void) |
|
| 541 | 541 | { |
|
| 542 | - | int x, y; |
|
| 542 | + | int x, y, i = 0; |
|
| 543 | + | unsigned int du; |
|
| 543 | 544 | XSetWindowAttributes swa; |
|
| 544 | 545 | XIM xim; |
|
| 546 | + | Window w, dw, *dws; |
|
| 547 | + | XWindowAttributes wa; |
|
| 545 | 548 | #ifdef XINERAMA |
|
| 546 | 549 | XineramaScreenInfo *info; |
|
| 547 | - | Window w, pw, dw, *dws; |
|
| 548 | - | XWindowAttributes wa; |
|
| 549 | - | int a, j, di, n, i = 0, area = 0; |
|
| 550 | - | unsigned int du; |
|
| 550 | + | Window pw; |
|
| 551 | + | int a, j, di, n, area = 0; |
|
| 551 | 552 | #endif |
|
| 552 | 553 | ||
| 553 | 554 | /* init appearance */ |