OBS User unknown 2009-03-08 23:33:30 +00:00 committed by Git OBS Bridge
parent 4b06b9dfaa
commit 5587553d81
3 changed files with 39 additions and 1 deletions

23
libXrandr-70d641c.diff Normal file
View File

@ -0,0 +1,23 @@
commit 70d641c6d170cda44856579dfdcb42d3bb1f8221
Author: Keith Packard <keithp@keithp.com>
Date: Fri Jan 30 20:12:43 2009 -0800
Send X_RRGetOutputPrimary when making an X_RRGetOutputPrimary request
Using X_RRGetOutputProperty does not yield success here.
Signed-off-by: Keith Packard <keithp@keithp.com>
diff --git a/src/XrrOutput.c b/src/XrrOutput.c
index 0c39a31..18863bd 100644
--- a/src/XrrOutput.c
+++ b/src/XrrOutput.c
@@ -176,7 +176,7 @@ XRRGetOutputPrimary(Display *dpy, Window window)
LockDisplay(dpy);
GetReq (RRGetOutputPrimary, req);
req->reqType = info->codes->major_opcode;
- req->randrReqType = X_RRGetOutputProperty;
+ req->randrReqType = X_RRGetOutputPrimary;
req->window = window;
if (!_XReply (dpy, (xReply *) &rep, 0, xFalse))

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Mar 4 20:36:25 CET 2009 - sndirsch@suse.de
- libXrandr-70d641c.diff
* fixes fatal protocol error in libXrandr, which broke RANDR
support completely (bnc #481863)
-------------------------------------------------------------------
Fri Feb 27 20:32:39 CET 2009 - sndirsch@suse.de

View File

@ -32,7 +32,7 @@ Obsoletes: xorg-x11-libs-64bit
#
Url: http://xorg.freedesktop.org/
Version: 7.4
Release: 15
Release: 16
License: X11/MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/Libraries
@ -74,6 +74,7 @@ Patch2: libXft-2.1.7-lcd-filter-2.patch
Patch3: p_xft_cjk.diff
Patch5: libxkbui.diff
Patch10: libXxf86misc-xcb.diff
Patch11: libXrandr-70d641c.diff
%description
This package contains the remaining X.Org libraries.
@ -230,6 +231,9 @@ popd
pushd libXxf86misc-*
%patch10 -p0
popd
pushd libXrandr-*
%patch11 -p1
popd
%build
for dir in libXft1-* xbitmaps-* $(ls | grep -v -e libXft1 -e xbitmaps); do
@ -320,6 +324,10 @@ exit 0
/usr/%{_lib}/libpciaccess.so
%changelog
* Wed Mar 04 2009 sndirsch@suse.de
- libXrandr-70d641c.diff
* fixes fatal protocol error in libXrandr, which broke RANDR
support completely (bnc #481863)
* Fri Feb 27 2009 sndirsch@suse.de
- libXfont 1.4.0
* Thu Feb 26 2009 sndirsch@suse.de