[hackers] [dwm] applied Hiltjo Posthuma's double-XineramaQueryScreens() patch, thanks Hiltjo! || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Sun, 25 Jul 2010 08:58:17 +0000 (UTC)

changeset: 1522:0d86faf4b05c
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Sun Jul 25 09:58:25 2010 +0100
files: dwm.c
description:
applied Hiltjo Posthuma's double-XineramaQueryScreens() patch, thanks Hiltjo!

diff -r 53d98940cb04 -r 0d86faf4b05c dwm.c
--- a/dwm.c Fri Jun 04 11:41:16 2010 +0100
+++ b/dwm.c Sun Jul 25 09:58:25 2010 +0100
@@ -1791,7 +1791,6 @@
                 XineramaScreenInfo *info = XineramaQueryScreens(dpy, &nn);
                 XineramaScreenInfo *unique = NULL;
 
- info = XineramaQueryScreens(dpy, &nn);
                 for(n = 0, m = mons; m; m = m->next, n++);
                 /* only consider unique geometries as separate screens */
                 if(!(unique = (XineramaScreenInfo *)malloc(sizeof(XineramaScreenInfo) * nn)))
Received on Sun Jul 25 2010 - 10:58:17 CEST

This archive was generated by hypermail 2.2.0 : Sun Jul 25 2010 - 11:00:09 CEST