Contents of /trunk/xscreensaver/patches/xscreensaver-5.08-randr12.patch
Parent Directory | Revision Log
Revision 787 -
(show annotations)
(download)
Fri May 8 07:51:46 2009 UTC (15 years, 4 months ago) by niro
File size: 580 byte(s)
Fri May 8 07:51:46 2009 UTC (15 years, 4 months ago) by niro
File size: 580 byte(s)
several fixes#
1 | --- driver/screens.c.orig 2009-04-30 17:59:02.000000000 -0700 |
2 | +++ driver/screens.c 2009-04-30 18:01:32.000000000 -0700 |
3 | @@ -436,7 +436,7 @@ |
4 | XRROutputInfo *rroi = XRRGetOutputInfo (dpy, res, |
5 | res->outputs[k]); |
6 | RRCrtc crtc = (rroi->crtc ? rroi->crtc : |
7 | - rroi->crtcs ? rroi->crtcs[0] : 0); |
8 | + rroi->ncrtc ? rroi->crtcs[0] : 0); |
9 | XRRCrtcInfo *crtci = (crtc ? XRRGetCrtcInfo(dpy, res, crtc) : 0); |
10 | |
11 | monitors[j] = m; |