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