This commit is contained in:
parent
4b06b9dfaa
commit
5587553d81
23
libXrandr-70d641c.diff
Normal file
23
libXrandr-70d641c.diff
Normal 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))
|
@ -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
|
Fri Feb 27 20:32:39 CET 2009 - sndirsch@suse.de
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ Obsoletes: xorg-x11-libs-64bit
|
|||||||
#
|
#
|
||||||
Url: http://xorg.freedesktop.org/
|
Url: http://xorg.freedesktop.org/
|
||||||
Version: 7.4
|
Version: 7.4
|
||||||
Release: 15
|
Release: 16
|
||||||
License: X11/MIT
|
License: X11/MIT
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -74,6 +74,7 @@ Patch2: libXft-2.1.7-lcd-filter-2.patch
|
|||||||
Patch3: p_xft_cjk.diff
|
Patch3: p_xft_cjk.diff
|
||||||
Patch5: libxkbui.diff
|
Patch5: libxkbui.diff
|
||||||
Patch10: libXxf86misc-xcb.diff
|
Patch10: libXxf86misc-xcb.diff
|
||||||
|
Patch11: libXrandr-70d641c.diff
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains the remaining X.Org libraries.
|
This package contains the remaining X.Org libraries.
|
||||||
@ -230,6 +231,9 @@ popd
|
|||||||
pushd libXxf86misc-*
|
pushd libXxf86misc-*
|
||||||
%patch10 -p0
|
%patch10 -p0
|
||||||
popd
|
popd
|
||||||
|
pushd libXrandr-*
|
||||||
|
%patch11 -p1
|
||||||
|
popd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
for dir in libXft1-* xbitmaps-* $(ls | grep -v -e libXft1 -e xbitmaps); do
|
for dir in libXft1-* xbitmaps-* $(ls | grep -v -e libXft1 -e xbitmaps); do
|
||||||
@ -320,6 +324,10 @@ exit 0
|
|||||||
/usr/%{_lib}/libpciaccess.so
|
/usr/%{_lib}/libpciaccess.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Feb 27 2009 sndirsch@suse.de
|
||||||
- libXfont 1.4.0
|
- libXfont 1.4.0
|
||||||
* Thu Feb 26 2009 sndirsch@suse.de
|
* Thu Feb 26 2009 sndirsch@suse.de
|
||||||
|
Loading…
Reference in New Issue
Block a user