summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-07-19libXrandr: add support for provider objects.Dave Airlie
This adds the client side libXrandr support for randr 1.4, and provider objects. Signed-off-by: Dave Airlie <airlied@redhat.com>
2012-02-29Fill in nameLen in XRROutputInfoDaniel Stone
Even though it probably makes more sense to just strlen() the name, for some reason there's a nameLen field in XRROutputInfo, so might as well actually fill it in. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reported-by: Leif Middelschulte <leif.middelschulte@gmail.com>
2011-09-16Strip trailing whitespaceAlan Coopersmith
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-07-08Purge macros NEED_EVENTS and NEED_REPLIESFernando Carrijo
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-05-26Add parameter safety checkLeif Middelschulte
As mentioned in bugzilla ticket 28150. Calling '_XRRValidateCache' with 'improper' arguments results in a SEGV. This patch adds a parameter validation to the mentioned function. Signed-off-by: Leif Middelschulte <leif.middelschulte@gmail.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-02-16config: move CWARNFLAGS from configure.ac to Makefile.amGaetan Nadon
Compiler warning flags should be explicitly set in the makefile rather than being merged with other packages compiler flags. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-11-10GetCrtcGamma: Fix error handling.Adam Jackson
We didn't treat _XReply failure as fatal. Parsing an xError as a gamma ramp reply doesn't work that often. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jamey Sharp <jamey@minilop.net>
2009-11-10GetCrtcGammaSize: Return 0, not garbage, on failureAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jamey Sharp <jamey@minilop.net>
2009-11-10SetScreenConfigAndRate: Document error handling betterAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jamey Sharp <jamey@minilop.net>
2009-11-10GetOutputProperty: Return the error code, not BadRequestAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Jamey Sharp <jamey@minilop.net>
2009-01-30Send X_RRGetOutputPrimary when making an X_RRGetOutputPrimary requestKeith Packard
Using X_RRGetOutputProperty does not yield success here. Signed-off-by: Keith Packard <keithp@keithp.com>
2009-01-30Janitor: make distcheck, compiler warnings, .gitignorePaulo Cesar Pereira de Andrade
Warning corrections are either unused symbols or using an integer as a pointer (generated by sparse).
2008-12-23Fix thinkosJulien Cristau
* XRRExtensionInfo can be static * XRRExtensionName is not called XrandrExtensionName
2008-12-17Define _XRRHasRates internally.Adam Jackson
2008-12-17Be sure to return NULL when returning no properties.Adam Jackson
2008-12-17Use RRCheckExtension in function returning a value.Adam Jackson
2008-12-17Fix type of GetReq() argument.Adam Jackson
2008-12-17Use RRSimpleCheckExtension in functions returning voidAdam Jackson
2008-12-08Add [GS]etOutputPrimaryAdam Jackson
2008-12-04Nuke config-timestamp for panning.Matthias Hopf
2008-12-04Panning supportMatthias Hopf
2008-12-01RRNotify subevents have 'window' at different offsets, the sequelJulien Cristau
f176b2bda103f6f38aabab8207f47a02cc797659 fixed XRRWireToEvent, but XRREventToWire had the same bug. Signed-off-by: Julien Cristau <jcristau@debian.org>
2008-12-01Merge branch 'transform-proposal' of git.freedesktop.org:/git/xorg/lib/libXrandrJulien Cristau
Conflicts: src/Xrandr.c
2008-11-28Set attr->pendingNparams in XRRGetCrtcTransform()Julien Cristau
2008-11-24Add GetScreenResourcesCurrentAdam Jackson
2008-09-12Set NparamsFilter in XRRGetCrtcTransform return value.Keith Packard
Leaving this uninitialized isn't very helpful, and can cause segfaults.
2008-08-13RRNotify subevents have 'window' at different offsets.Tomas Carnecky
2008-08-13Remove RCS tags.Adam Jackson
2008-06-23Bug #16430: Ignore ConfigureNotify on non-root windows in UpdateConfigurationthb
2008-05-19Rename parameters to clarify QueryVersion/QueryExtension.Peter Hutterer
These parameters are not treated as input. Rename them to make the inner workings slightly more obvious. X.Org Bug 14511 <http://bugs.freedesktop.org/show_bug.cgi?id=14511>
2008-03-18Eliminate inverse matrix from randr transform protocolKeith Packard
It is easier, and potentially more precise, to compute the inverse in the server where everything can eventually be kept in floating point form.
2008-03-15Support CRTC Transform filtersKeith Packard
XRRGetCrtcTransform now returns a giant struct containing all of the transform and filter data. XRRSetCrtcTransform now accepts filter parameters.
2008-03-10Add support for new Transform requests.Keith Packard
2008-02-05Hide some private symbols.Julien Cristau
XExtensionInfo, XRRExtensionName, XRRFindDisplay, _XRRHasRates and _XRRVersionHandler are internal to libXrandr. Don't export them.
2007-07-03CrtcChange event format conversion was using 'height' for 'width'.Keith Packard
CrtcChange events were getting the source 'height' value stored in the 'width' target in both conversion directions.
2007-02-15Must pass size information in SetCrtcGamma request.Keith Packard
2007-01-31Merge 64-bit fixes inKeith Packard
2007-01-31Fix read sizes for 64-bit machines.Keith Packard
Be consistent in variable usage: nbytes = network byte length. rbytes = memory byte length. nbytesRead = actual network bytes read. Malloc rbytes data to pass to _XRead*, but use nbytes as the amount of data to read (yes, this is insane, welcome to Xlib). Some of this patch is semi-gratuitous, but the goal is to be consistent everywhere.
2007-01-16Return a valid property info even if we lack valid value sets.Eric Anholt
Previously, XRRQueryOutputProperty90 would return an uninitialized pointer if num_values was 0.
2007-01-06Avoid nested LockDisplay calls.Keith Packard
XRRFindDisplay must make extension requests that use LockDisplay, so don't call it with the display locked, instead pass the info around to the internal functions that were calling it themselves, having acquired the info before the outer LockDisplay is called.
2006-12-30Failed to copy rotations from reply to XRRCrtcInfo.Keith Packard
XRRGetCrtcInfo was not moving the rotations value from the wire reply structure to the XRRCrtcInfo being returned, leaving the value uninitialized.
2006-12-02Merge branch 'randr-1.2'Dave Airlie
2006-11-30Add initial implementation of crtc gamma and mode adding requests.Keith Packard
They build. More testing seems indicated.
2006-11-27Merge branch 'randr-1.2'Eric Anholt
Conflicts: configure.ac
2006-11-20Change properties to have a pending value and report valid values.Keith Packard
Pending values are transferred to current values at mode set, allowing a queue of values to accrue in preparation for the modeset operation while still reporting valid 'current' values for applications. The set of valid values is also available so applications can present a reasonable list to the user during configuration.
2006-11-16Remove RandR output options.Keith Packard
Options are to be implemented as properties instead.
2006-11-09Return the right actual property type for XRRGetOutputProperty.Eric Anholt
2006-11-09Add support for various output property requests.Eric Anholt
These should be reviewed by someone with proto clue, which I'm generally lacking.
2006-11-01Moving physical size from mode to output.Keith Packard
Follows protocol change which places physical size information in the output rather than (inappropriately) in each mode line.
2006-10-12Do not call UnlockDisplay without calling LockDisplay.Jamey Sharp
Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for reporting this bug and a correct fix.