Cyril Brulebois
a937803c1f
dix: Simplify deprecated *Lookup* wrappers around dixLookup*.
...
As pointed out by Jamey Sharp: “the result pointer is already guaranteed
to be NULL if the return value is not Success”, so get rid of the
variable used to catch the return value, and used in a ternary operation
to decide whether to return the pointer or NULL. Always return the
result pointer instead.
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Cyril Brulebois <kibi@debian.org>
2010-12-07 18:42:45 +01:00
..
.gitignore
atom.c
buildatoms
BuiltInAtoms
colormap.c
Remove unnecessary parentheses around return values in functions
2010-06-10 06:42:42 -07:00
cursor.c
Remove unnecessary parentheses around return values in functions
2010-06-10 06:42:42 -07:00
deprecated.c
dix: Simplify deprecated *Lookup* wrappers around dixLookup*.
2010-12-07 18:42:45 +01:00
devices.c
dix: fix typo in setting valuator modes ( #21548 )
2010-11-12 11:49:10 +10:00
dispatch.c
Comparison between pointer and integer in latest dix/dispatch.c
2010-10-13 10:20:06 -07:00
dispatch.h
xserver: delete pervasively use of DISPATCH_PROC
2010-09-28 16:45:05 +03:00
dixfonts.c
dixfonts: Deobfuscate GC ops calls.
2010-09-13 15:55:17 -07:00
dixutils.c
dix: optimize CallCallbacks
2010-10-13 09:24:06 -07:00
enterleave.c
Use GetCurrentRootWindow or equivalent instead of spriteTrace[0].
2010-10-13 15:58:12 +10:00
enterleave.h
eventconvert.c
dix: don't stop processing valuators when the mode changes.
2010-12-07 08:07:53 +10:00
events.c
Use GetCurrentRootWindow or equivalent instead of spriteTrace[0].
2010-10-13 15:58:12 +10:00
extension.c
Replace malloc/strlen/strcpy with strdup.
2010-08-27 19:05:48 -04:00
ffs.c
gc.c
Un-export CreateScratchGC now that nothing external uses it.
2010-09-13 15:58:08 -07:00
getevents.c
dix: do not use bit-wise operators on the boolean result of BitIsOn
2010-11-30 13:25:47 -08:00
globals.c
dix: delete logo hack screen saver
2010-11-11 23:20:35 +02:00
glyphcurs.c
grabs.c
Remove more superfluous if(p!=NULL) checks around free(p).
2010-11-11 08:29:54 +10:00
initatoms.c
inpututils.c
dix: remove valuator_mask_copy_valuators, not needed anymore.
2010-10-22 11:02:53 +10:00
main.c
dix: remove proc tables initialization
2010-09-28 16:46:46 +03:00
Makefile.am
dix: Fix make distcheck
2010-11-14 10:25:54 -08:00
pixmap.c
privates.c
Add fence sync driver interface
2010-12-06 19:15:26 -08:00
property.c
Fix property and selection devPrivate allocation.
2010-09-10 11:44:12 -07:00
protocol.txt
ptrveloc.c
Remove superfluous if(p!=NULL) checks around free(p); p=NULL;
2010-11-11 08:22:59 +10:00
region.c
Remove unnecessary parentheses around return values in functions
2010-06-10 06:42:42 -07:00
registry.c
resource.c
Remove unnecessary parentheses around return values in functions
2010-06-10 06:42:42 -07:00
selection.c
Fix property and selection devPrivate allocation.
2010-09-10 11:44:12 -07:00
swaprep.c
swapreq.c
Remove unnecessary parentheses around return values in functions
2010-06-10 06:42:42 -07:00
tables.c
dix: remove proc tables initialization
2010-09-28 16:46:46 +03:00
window.c
dix: fix root window background behaviour for protocol calls
2010-11-11 23:25:06 +02:00
Xserver-dtrace.h.in
Xserver.d