summaryrefslogtreecommitdiff
path: root/src/XListDProp.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix double unlock when _XiCheckExtInit return -1.Michal Srb2014-11-031-1/+1
| | | | | | | | _XiCheckExtInit unlocks the display if it fails and returns -1. Most callers account for it properly, but few didn't. Signed-off-by: Michal Srb <msrb@suse.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Use _XEatDataWords to avoid overflow of rep.length bit shiftingAlan Coopersmith2013-05-231-1/+1
| | | | | | | rep.length is a CARD32, so rep.length << 2 could overflow in 32-bit builds Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
* Silence compiler warning in XListDProp.cPeter Hutterer2011-05-191-1/+1
| | | | | | | | | | XListDProp.c: In function 'XListDeviceProperties': XListDProp.c:72:9: warning: pointer targets in passing argument 2 of '_XRead32' differ in signedness /usr/include/X11/Xlibint.h:652:13: note: expected 'long int *' but argument is of type 'Atom *' Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Return NULL on error, and match LockDisplay with UnlockDisplay.Paulo Cesar Pereira de Andrade2009-01-291-7/+5
|
* Add support for input device properties requests.Peter Hutterer2008-07-091-0/+84