Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xscreensaver/files: xscreensaver-5.08-randr12.patch
Date: Sat, 02 May 2009 10:33:51
Message-Id: E1M0CXV-0006wF-Cj@stork.gentoo.org
1 ssuominen 09/05/02 10:33:49
2
3 Added: xscreensaver-5.08-randr12.patch
4 Log:
5 Include XRandR 1.2 patch by Brian Tarricone wrt #249680.
6 (Portage version: 2.1.6.11/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 x11-misc/xscreensaver/files/xscreensaver-5.08-randr12.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/files/xscreensaver-5.08-randr12.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-misc/xscreensaver/files/xscreensaver-5.08-randr12.patch?rev=1.1&content-type=text/plain
13
14 Index: xscreensaver-5.08-randr12.patch
15 ===================================================================
16 --- driver/screens.c.orig 2009-04-30 17:59:02.000000000 -0700
17 +++ driver/screens.c 2009-04-30 18:01:32.000000000 -0700
18 @@ -436,7 +436,7 @@
19 XRROutputInfo *rroi = XRRGetOutputInfo (dpy, res,
20 res->outputs[k]);
21 RRCrtc crtc = (rroi->crtc ? rroi->crtc :
22 - rroi->crtcs ? rroi->crtcs[0] : 0);
23 + rroi->ncrtc ? rroi->crtcs[0] : 0);
24 XRRCrtcInfo *crtci = (crtc ? XRRGetCrtcInfo(dpy, res, crtc) : 0);
25
26 monitors[j] = m;