projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1a2a3c
)
applied Hiltjo Posthuma's double-XineramaQueryScreens() patch, thanks Hiltjo!
author
Anselm R Garbe
<anselm@garbe.us>
Sun, 25 Jul 2010 08:58:25 +0000
(09:58 +0100)
committer
Anselm R Garbe
<anselm@garbe.us>
Sun, 25 Jul 2010 08:58:25 +0000
(09:58 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index 670afbe695657ed27ac93d0d8d50255d4fc09d58..438b9e716e99db22ae2219c8bcb92c9310be6b7d 100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1791,7
+1791,6
@@
updategeom(void) {
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)))