blob: 3aa1763573e6715c9a9b315c04cdbb26194c72d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
--- display.c.orig
+++ display.c
@@ -1,4 +1,6 @@
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <math.h>
@@ -145,7 +147,7 @@
int occ,x,y;
if (currdpy != dpy && !botmode)
- return;
+ return(0);
wipemap(currdpy, currbamp, currgc, currscr, currwin);
for (y=0;y!=ysize;y++)
for (x=0;x!=xsize;x++)
@@ -386,7 +388,7 @@
XFlush(currdpy);
}
XNextEvent(dpy,&event);
- return;
+ return(0);
}
}
|