aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/afterstep-stable/files/patch-libAfterStep::screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/afterstep-stable/files/patch-libAfterStep::screen.c')
-rw-r--r--x11-wm/afterstep-stable/files/patch-libAfterStep::screen.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-wm/afterstep-stable/files/patch-libAfterStep::screen.c b/x11-wm/afterstep-stable/files/patch-libAfterStep::screen.c
new file mode 100644
index 000000000000..8a9456c14949
--- /dev/null
+++ b/x11-wm/afterstep-stable/files/patch-libAfterStep::screen.c
@@ -0,0 +1,15 @@
+$FreeBSD$
+
+--- libAfterStep/screen.c.orig Sat Feb 3 21:34:23 2007
++++ libAfterStep/screen.c Sat Feb 3 21:34:45 2007
+@@ -135,9 +135,9 @@
+
+ if ((s = XineramaQueryScreens (dpy, &(scr->xinerama_screens_num))) != NULL)
+ {
++ static char buf[256] ;
+ scr->xinerama_screens = safemalloc (sizeof (XRectangle) * scr->xinerama_screens_num);
+ asxml_var_insert("xroot.xinerama_screens_num", scr->xinerama_screens_num);
+- static char buf[256] ;
+ for (i = 0; i < scr->xinerama_screens_num; ++i)
+ {
+ char *append_point = &buf[0];