summaryrefslogtreecommitdiff
blob: 3ed8b82f29e81c853af61207a8e1a87b60a4287d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/wmgeneral.c
+++ b/wmgeneral.c
@@ -45,6 +45,7 @@ Window		iconwin, win;
 GC			NormalGC;
 XpmIcon		wmgen;
 Pixmap		pixmask;
+Display		*display;
 
   /*****************/
  /* Mouse Regions */
--- a/wmgeneral.h
+++ b/wmgeneral.h
@@ -21,7 +21,7 @@ typedef struct {
  /* Global variable */
 /*******************/
 
-Display		*display;
+extern Display		*display;
 
   /***********************/
  /* Function Prototypes */