diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-26 09:19:11 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-26 09:19:11 +0000 |
commit | 87113e40d79675965195e7336fa04b2412d9d417 (patch) | |
tree | 4b3ee22573c479a76df73e2195cc4249b79dfdd3 /meta | |
parent | 2c1211bab9b9f8b2066d312b538b27949454f238 (diff) | |
download | poky-87113e40d79675965195e7336fa04b2412d9d417.tar.gz |
xserver-kdrive-1.3.0.0: Add randr12 fix from OE
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/xorg-xserver/xserver-kdrive-1.3.0.0/report-correct-randr12.patch | 29 | ||||
-rw-r--r-- | meta/packages/xorg-xserver/xserver-kdrive_1.3.0.0.bb | 3 |
2 files changed, 31 insertions, 1 deletions
diff --git a/meta/packages/xorg-xserver/xserver-kdrive-1.3.0.0/report-correct-randr12.patch b/meta/packages/xorg-xserver/xserver-kdrive-1.3.0.0/report-correct-randr12.patch new file mode 100644 index 0000000000..72c8a18add --- /dev/null +++ b/meta/packages/xorg-xserver/xserver-kdrive-1.3.0.0/report-correct-randr12.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | Server reports XRandR version provided by libxrandr instead of XRandR | ||
2 | version implemented. It confuses applications that execute XRandR | ||
3 | version dependent code (e. g. gtk+ >= 2.18.0). | ||
4 | |||
5 | Index: xorg-server-1.3.0.0/randr/rrdispatch.c | ||
6 | =================================================================== | ||
7 | --- xorg-server-1.3.0.0.orig/randr/rrdispatch.c | ||
8 | +++ xorg-server-1.3.0.0/randr/rrdispatch.c | ||
9 | @@ -22,6 +22,9 @@ | ||
10 | |||
11 | #include "randrstr.h" | ||
12 | |||
13 | +#define SERVER_RANDR_MAJOR 1 | ||
14 | +#define SERVER_RANDR_MINOR 2 | ||
15 | + | ||
16 | Bool | ||
17 | RRClientKnowsRates (ClientPtr pClient) | ||
18 | { | ||
19 | @@ -49,8 +52,8 @@ ProcRRQueryVersion (ClientPtr client) | ||
20 | * Report the current version; the current | ||
21 | * spec says they're all compatible after 1.0 | ||
22 | */ | ||
23 | - rep.majorVersion = RANDR_MAJOR; | ||
24 | - rep.minorVersion = RANDR_MINOR; | ||
25 | + rep.majorVersion = SERVER_RANDR_MAJOR; | ||
26 | + rep.minorVersion = SERVER_RANDR_MINOR; | ||
27 | if (client->swapped) { | ||
28 | swaps(&rep.sequenceNumber, n); | ||
29 | swapl(&rep.length, n); | ||
diff --git a/meta/packages/xorg-xserver/xserver-kdrive_1.3.0.0.bb b/meta/packages/xorg-xserver/xserver-kdrive_1.3.0.0.bb index 54826e44e1..7625a3d6f9 100644 --- a/meta/packages/xorg-xserver/xserver-kdrive_1.3.0.0.bb +++ b/meta/packages/xorg-xserver/xserver-kdrive_1.3.0.0.bb | |||
@@ -22,6 +22,7 @@ SRC_URI = "${XORG_MIRROR}/individual/xserver/xorg-server-${PV}.tar.bz2 \ | |||
22 | file://xcalibrate_coords.patch;patch=1 \ | 22 | file://xcalibrate_coords.patch;patch=1 \ |
23 | file://fbdev_xrandr_ioctl.patch;patch=1 \ | 23 | file://fbdev_xrandr_ioctl.patch;patch=1 \ |
24 | file://scheduler.patch;patch=1 \ | 24 | file://scheduler.patch;patch=1 \ |
25 | file://fix-newer-xorg-headers.patch;patch=1" | 25 | file://fix-newer-xorg-headers.patch;patch=1 \ |
26 | file://report-correct-randr12.patch;patch=1 " | ||
26 | 27 | ||
27 | S = "${WORKDIR}/xorg-server-${PV}" | 28 | S = "${WORKDIR}/xorg-server-${PV}" |