summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove "All rights reserved" from Oracle copyright noticesAlan Coopersmith2023-02-252-2/+2
| | | | | | Oracle no longer includes this term in our copyright & license notices. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* XCompositeCloseDisplay: Mark codes as unusedAlan Coopersmith2022-11-212-1/+2
| | | | | | | | | | Quiets clang warning: Xcomposite.c:91:50: warning: unused parameter 'codes' [-Wunused-parameter] XCompositeCloseDisplay (Display *dpy, XExtCodes *codes) ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Handle implicit conversion warnings from clangAlan Coopersmith2022-11-211-25/+27
| | | | | | | Clears 13 -Wimplicit-int-conversion, 10 -Wshorten-64-to-32, and 2 -Wsign-conversion warnings. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Wrap XComposite*CheckExtension() in do { ... } while(0)Alan Coopersmith2022-11-211-2/+2
| | | | | | | Makes macro expansion safer and eliminates -Wextra-semi-stmt warnings from clang every time it is called due to semicolon after bracket. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Remove unnecessary casts from malloc() and free() callsAlan Coopersmith2022-11-211-2/+2
| | | | | | Not needed in C89 and later Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Mark two dpy parameters const as suggested by cppcheckAlan Coopersmith2022-11-211-2/+2
| | | | | | | | | | | | | Xcomposite.c:56:66: style: Parameter 'dpy' can be declared with const [constParameter] XCompositeExtRemoveDisplay (XCompositeExtInfo *extinfo, Display *dpy) ^ Xcomposite.c:175:22: style: Parameter 'dpy' can be declared with const [constParameter] Display *dpy) ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Use Xfree rather than XFree for consistencyJeremy Huddleston Sequoia2014-01-021-1/+1
| | | | Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* Strip trailing whitespaceAlan Coopersmith2011-09-162-17/+17
| | | | | | | 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>
* Purge macros NEED_EVENTS and NEED_REPLIESFernando Carrijo2010-07-071-2/+0
| | | | | | 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>
* Remove unneeded dependencies from configure.ac & xcomposite.pcAlan Coopersmith2010-07-071-2/+2
| | | | | | | | | | | | | | | We only need Xfixes headers for the XserverRegion definition, don't need to link against it directly or require clients link against it, so only use CFLAGS from it in the Makefile, and only list it in Requires.private in the .pc file. Don't need libXext at all - no headers or functions from it are used. Also clean up some extra appearances of *_CFLAGS & *_LIBS that aren't needed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
* Sun's copyrights now belong to OracleAlan Coopersmith2010-06-082-2/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Always call SyncHandle after issuing an X request.Jamey Sharp2010-04-091-0/+1
|
* Update Sun license notices to current X.Org standard formAlan Coopersmith2010-01-142-36/+38
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith2009-10-081-1/+2
| | | | | | | Also some changes to man/Makefile.am to make it work better with the AM_SILENT_RULES option that's enabled in XORG_DEFAULT_OPTIONS Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
* Janitor: Correct make distcheckPaulo Cesar Pereira de Andrade2009-01-293-8/+2
| | | | | Remove extra .gitignore in subdirectories Correct a sparse warning
* Rename parameters to clarify QueryVersion/QueryExtension.Peter Hutterer2008-05-191-7/+9
| | | | | | | 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>
* nuke RCS IdsMatthieu Herrb2008-03-092-4/+0
|
* Do not call UnlockDisplay without calling LockDisplay.Jamey Sharp2006-10-121-2/+0
| | | | | Thanks to Magnus Kessler <Magnus.Kessler@gmx.net> for reporting this bug and a correct fix.
* renamed: .cvsignore -> .gitignoreAlan Coopersmith2006-07-131-0/+0
|
* Coverity #573: Plug a leak on the error path.Adam Jackson2006-04-031-0/+1
|
* Part 2 of 3 (Other parts are in proto and xserver) Composite Version 0.3:Deron Johnson2006-03-132-4/+85
| | | | | CompositeGetOverlayWindow, CompositeReleaseOverlayWindow Xfixes Version 4.0: XFixesHideCursor, XFixesShowCursor
* Do PKG_CHECK_MODULES on a unique token instead of on "DEP", so builds withAdam Jackson2005-08-031-2/+2
| | | | a global configure cache don't get confused.
* Change soversion to 1.0.0 with -version-number.Daniel Stone2005-07-161-11/+1
|
* Add $(DEP_LIBS)Alexander Gottwald2005-07-151-1/+1
|
* Add $(DEP_CFLAGS) to $(AM_CFLAGS) so the Composite extension headers can beAlan Coopersmith2005-07-131-1/+1
| | | | found.
* Add missing filesKeith Packard2005-07-122-0/+53
|
* Use full path for Xcomposite.h headerXORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15Keith Packard2005-07-121-1/+1
|
* Bring in Xfixes, Xdamage, and Xcomposite userland from xserver CVS:rel-0-6-1lg3d-rel-0-7-0lg3d-rel-0-6-2lg3d-baseXORG-6_8_2XORG-6_8_1_904XORG-6_8_1_903XORG-6_8_1_902XORG-6_8_1_901XORG-6_8_1XORG-6_8_0XORG-6_7_99_904XORG-6_7_99_903XORG-6_7_99_902XORG-6_7_99_901XORG-6_7_99_2XORG-6_7_99_1lg3d-masterlg3d-eventlg3d-dev-0-7-1lg3d-dev-0-7-0lg3d-dev-0-6-latestlg3d-dev-0-6-2lg3d-dev-0-6-1-latestlg3d-dev-0-6-1-currentlg3d-dev-0-6-1-1lg3d-dev-0-6-1lg3dXORG-6_8-branchEric Anholt2004-07-312-0/+399
- Update Xfixes headers to protocol major version 3. - Add composite headers. - Add libXfixes, libXdamage, and libXcomposite. - Add imake glue for new libraries, but leave Composite off by default until issues are resolved.